I'm not sure how to do it in the config file but here it is in code...

------------------------------------
  int hour = 60 * 60;
  hour = hour * 4;
  session.setMaxInactiveInterval(hour);
----------------

this sets the inactivity timeout which is what I think you want.

-----Original Message-----
From: Jagan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 19, 2002 9:35 PM
To: Tomcat Users List
Subject: session timeout


hi all!
My session time is presnetly the default tomcat-session time.
how to set session time so that the session will stay for longer?
Regards
Jagan
Unidux Electronics Ltd.
Email : [EMAIL PROTECTED]
TEL   : +65 293 4797
FAX   : +65 293 4920
  



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to