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

__________________________________________________________________________
_
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
    
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



  





Reply via email to