call session.invalidate() after a particular time interval if the
session is not accessed for a particular time period.
you can get the last access time from session.getLastAccessedTime().
Hope this helps.
Rgds
Satya
-----Original Message-----
From: Nebu PM [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 4:46 PM
To: [EMAIL PROTECTED]
Subject: session timing out...
hello friends,
I have a small problem in servlets,
I want my sessions to be timed out after say 15 minutes of idle activity
or
no activity that means, if the clent is not doing any operations for 15
minutes then his session has to be timed out. Something like that,
can any help how do we do it in servlets.
thanks in advance.
regards
nebu
________________________________________________________________________
___
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
___________________________________________________________________________
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