1,105,644 Community Members

same user logged in from differenct browser

Member Avatar
virendra_sharma
Light Poster
49 posts since Jun 2010
Reputation Points: -1 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

User "A" logged in to your web site and he is using Mozilla firefox browser after his logged in , i have stored some value in Session , now user again logged in from Internet explorer. So what will happen , can i get the session value for this user ??
this user is allowed to logged in ???

Member Avatar
geniusvishal
Junior Poster
183 posts since Jan 2012
Reputation Points: -1 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 3 [?]
 
0
 

No You wont get same session available for the same user when you use a different browser.. You will instead get a new session.. HERE is a similar thread regarding the same..

http://forums.asp.net/t/1668958.aspx/1

Also You have to specifically avoid such scenarios in future because It could lead to problems like Session Merging which would really cause multiple problems for you and could hamper your application functionality..

http://www.codeproject.com/Articles/35859/Detect-and-prevent-multiple-windows-or-tab-usage-i

Member Avatar
ggamble
Junior Poster
151 posts since Mar 2006
Reputation Points: 1 [?]
Q&As Helped to Solve: 17 [?]
Skill Endorsements: 4 [?]
 
0
 

Like @geniusvishal said, No ... its a new Session.

However, if they open a seperate tab, it will still be reading the same Session. Something to be aware of.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article