September 3rd, 2002, 11:31 AM
I'm new to JSP and I'm currently learning about sessions. I've had no problem setting one up, but I've noticed something strange. I've noticed that if I copy the URL of the session page and paste into a completely differnet browser window, the same page loads with the variables set from the origional session. In ASP and PHP, this wouldn't happen. Does anyone know how to keep the session variables reset each time the user closes the window?
September 4th, 2002, 11:53 AM
session stays open until timed out, closed in the program or you close ALL of your browser windows...
the session cookie goes across browsers... i didnt like it doing that to me either.
September 15th, 2002, 05:58 PM
The session cookie does not go across browsers
If I open IE and Mozilla , I can have a session in IE that will not exist in mozilla and vice versa.
With the page loaded in IE, I can then open the location in Mozilla and I will have a new session created for me.
Maybe you meant browser windows instead of browsers.