You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fiona McEvoy <fi...@prose.ie> on 2001/09/28 11:20:21 UTC

Session Timeout

Running Tomcat 3.2, how do I set the default timeout for the session to
more than 30 mins -I looked at the archives and  I made changes to the
session-timeout in server.xml file and the web.xml file as suggested, but
this has not worked. Any advice much appreciated.

Thanks,
Fiona.
___________________________________________________________

   Fiona McEvoy, PROSE, 20 Grantham Street, Dublin 8, Ireland.
Email:  fionam@prose.ie
Tel. (+353 1) 4783511, Fax. (+353 1) 4783937.
                  ___________________________________________________________


Re: Session Timeout

Posted by Kim Hübel <hu...@integris.de>.
You can do something like that:

httpSession.setMaxInactiveInterval(yourintervalasintinseconds));
mfg.

integris integrierte computersysteme GmbH

i.A. Kim Hübel

--
mailto:huebel@integris.de
http://www.integris.de

Telefon: +49(6501)92800
Fax: +49(6501)2808


----- Original Message -----
From: "Fiona McEvoy" <fi...@prose.ie>
To: <e0...@saffron.via-net-works.ie>; <to...@jakarta.apache.org>
Sent: Friday, September 28, 2001 11:20 AM
Subject: Session Timeout


> Running Tomcat 3.2, how do I set the default timeout for the session to
> more than 30 mins -I looked at the archives and  I made changes to the
> session-timeout in server.xml file and the web.xml file as suggested, but
> this has not worked. Any advice much appreciated.
>
> Thanks,
> Fiona.
> ___________________________________________________________
>
>    Fiona McEvoy, PROSE, 20 Grantham Street, Dublin 8, Ireland.
> Email:  fionam@prose.ie
> Tel. (+353 1) 4783511, Fax. (+353 1) 4783937.
>
___________________________________________________________
>