File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Session Management problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Management problem" Watch "Session Management problem" New topic

Session Management problem

Steve Makris

Joined: Apr 01, 2002
Posts: 2
Session variables getting initialised back to their default values.
Not sure if this is a problem with my operating system (MAC), Internet Explorer 5.2, or session management in general:
I open a browser window and login in to my application which initialises many session variables. I open a new window from the first window and login in to another application. Both applications are served by the same webapp in Tomcat. When I switch back to the first window and resume work I find that the session data is corrupt. This only happens on a MAC.
Any help is appreciated.
Session data is not getting corrupt but getting cleared, i.e. the user in session is set to the public user for the site. Its as if I didn't login at all. (The first thing which happens prior to login is that the session is populated with public user details.)
Also, I don't think it's possible to open a new browser instance on a MAC, so the suggestion in the other topic won't work in this case.
[ November 11, 2002: Message edited by: Steve Makris ]
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13024
How is the session data corrupt? Garbage or just incorrect values?
I agree. Here's the link:
subject: Session Management problem
jQuery in Action, 3rd edition