Hi
Use setMaxInactiveInterval(int sec) is HttpSession class.
That will do.
Mohan.
> -----Original Message-----
> From: Nebu PM [SMTP:[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