tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Berg <KB...@latis.com>
Subject RE: session timeout
Date Wed, 20 Feb 2002 15:27:36 GMT
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:jagan@unidux.com.sg]
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 : jagan@unidux.com.sg
TEL   : +65 293 4797
FAX   : +65 293 4920
  



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message