At 03:06 PM 6/3/2004, you wrote:
How to duplicate:
1) Go to sid.jsp in the webapp.
2) Use Ctrl+N to open a new browser window.
3) Go to sid.jsp with the new browser window created in step #2.
4) Session ID's are the same.

I don't see any options in Netscape to force the new browser window to be in a new session. I havn't looked at IE yet.

Is this a problem with tomcat, the browser, or the webapp?

The behavior you're seeing is expected and intentional. I don't know about all operating systems and browsers, but IN GENERAL opening a new browser *window* with Ctrl+N will share sessions ... opening a new browser *instance* via starting a new process will not share sessions.


This can cause problems if you have two browser windows sharing the same session, both doing time-consuming work on the same data set. This doesn't happen very often and usually when it does it's more a sign of problematic design than anything else.

As for your particular solution, that's a complex discussion to figure out what exactly would work best -- basically either accept that you'll have multiple threads modifying the same session data (and synchronize data access) or change the way your're storing data to make it immune to this situation.

justin


______________________________________________ Justin Ruthenbeck Software Engineer, NextEngine Inc. justinr - AT - nextengine DOT com Confidential. See: http://www.nextengine.com/confidentiality.php ______________________________________________


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to