can you send me the full code of the servlet please
Regards
guru
-----Original Message-----
From: randie ursal [mailto:[EMAIL PROTECTED]]
Sent: 10 September 2002 10:32
To: [EMAIL PROTECTED]
Subject: Re: session timeout question

but i displayed the session id between each browser and it is different.....i also open each
browser from the IE shorcut icon.


Adrian Janssen wrote:
sounds like the 2 browsers were sharing the same session id. This can for
example happen in IE  if you open the seconf browser from the first by using
File->New->Window off the first browser's menu. To start 2 browsers with
different session ids, start both of them separately from the start menu /
command line / double clicking short -cut / etc.

  
-----Original Message-----
From: randie ursal [SMTP:[EMAIL PROTECTED]]
Sent: 10 September 2002 10:30
To:   [EMAIL PROTECTED]
Subject:      session timeout question

hi,

    could somebody explain to me what possibly went wrong about my
application.

    what i did was, i set the maxInactiveIinterval time for 30 secs. on
my servlet then i added
    to my HttpSession object  an object that implements
HttpSessionBindingListener so that i can
    keep track and see what happen when session expires. this scenario
works fine, my session
    was invalidated after session timeout and the sessionlistener was
notified.

    my problem is when i access my web application by using two browsers
and let the
    1st browser remain idle until session expires.  the 2nd browser
session also expires
    when 1st browser session expires

    i can say this because it put a trace line on valueUnbound of the
sessionlistener object
    and two session id were displayed this was the session of both
browser.

    what went wrong with this?

thanks a lot
   randie

Reply via email to