#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    259
    Rep Power
    13

    Sessions problem


    Hello,

    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?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    68
    Rep Power
    14
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    Boston, MA
    Posts
    30
    Rep Power
    56

    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.

IMN logo majestic logo threadwatch logo seochat tools logo