In node-red how to store message for using in flows

So, as I asked in other thread the question about navigating and passing message to another tab with click(How to add slider on map sensor once on click it should do some action), So if I use variables then if two users are simultaneously accessing dashboard, then as i am storing messages in variables the action done by one user in dashboard, will affect another user's dashboard.