Hi all,

I'm sure this question has been answered before, but I can't for the life of
me find the answer anywhere.

I'm developing a system which uses the session API for log in/outs.  I don't
want a user's session to timeout, so I'm calling
session.setMaxInactiveInterval(-1) which works fine.  But my question is -
do these sessions ever actually expire?

i.e. a user logs on on a Monday morning and they then switch their computer
off Monday evening.  When they start again on the Tuesday they'll obviously
get a new session, but is the old one still hanging around on the server at
that time?  And what about on the Friday?  Or the week/month after?!

So: Is there any way to control or predict when the inactive session
actually becomes expired?

Many thanks,
Gary.

------------------------------------------------------
Email me - [EMAIL PROTECTED]
K's Web - http://www.kingstonian.net

___________________________________________________________________________
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