Session ID with multiple browsers

J

jack_c_brinegar

I am trying to identify a problem that has just been reported to our
team. It seems that when a user opens 2 browsers, and with the second
browser, the user logs into our web application (ASP.NET), then the
session for that browser is not transferred to any new browsers that
are spawned using the javascript window.open statement.

However, if the user logs into the web app using the first browser
instance (not the second), then all is fine.

In debugging, we can see the SessionID and it seems that the browser
that is created use the Session from the first browser. What are we
doing wrong?

Any ideas/help would be great.
 
B

Brock Allen

You're not going to like this, but I typically recommend to not use Sesison
state if possible. If you are going to use it, then you need to code it in
such a way to avoid the multiple browser issue. IOW, write the code to assume
the user always has 2 (or 3 or 4) browsers open.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top