Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i m facing the issues of sharing the same session accross multiple tabs in a single browser
Posted
Comments
Hemant Singh Rautela 19-Aug-14 3:38am    
what is the issue...???

Session is always shared within a browser accross multiple tabs....
ZurdoDev 19-Aug-14 7:52am    
What is the issue?
Nathan Minier 19-Aug-14 9:17am    
This is part of the nature of web browsers. If you want new sessions you need to launch new instances of the browser.

I'm hesitant to ask why you would even want that, though, as it sounds like you're chasing an anti-pattern. If it's a variable issue I would suggest attaching the variable elsewhere, like into the ViewData.

1 solution

Yes its the way browsers work if you are using session. If you don't want to work that way then don't use session. Try to achieve whatever you want without using session, yes try an alternate approach. Else you will try to override the default behaviour and won't know what might be the impact elsewhere. Just a thought though, not sure about your real situation and your requirement.
 
Share this answer
 
Comments
Raul Iloc 25-Aug-14 1:47am    
I agree with you. You have my vote (5)!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900