Hi Nebu
what you can do is to write a simple static method in a seperate class that
will take a request object .
with in the method can get the HttpSession object from the request and just
manipulate the last accessed time ,if the time is more than 15 minutes you
can return false else return true.
this can be implemented in the whole module by calling this method in all
servlets .
HTH
Arun
-----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