Hi,

Most servers allow you to set this property via some config file.  This will
be server specific though so I can't be of much help there.  If you want to
do the same thing in your code then you can use the public void
setMaxInactiveInterval(int interval)method of the HttpSession object.

Hope this helps
Lee

_________________________________

Lee Turner
Systems Developer
_________________________________

Watt Gilchrist Ltd
Ring Road, West Park
Leeds, LS16 6RA
Tel: 0113 288 3200
Fax: 0113 275 1690
http://www.wattgilchrist.co.uk
_________________________________

> -----Original Message-----
> From: Nebu PM [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 11:16 AM
> 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

Reply via email to