tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Paul" <antonypau...@hotmail.com>
Subject Re: how do i set max session time in 4.1.27
Date Thu, 09 Sep 2004 10:54:05 GMT
If you are setting maximum session time out you can set it in the
WEB-INF/web.xml like this
<session-config>
    <session-timeout>30</session-timeout>
</session-config>

The time out is in minutes. This is to be placed after servlet-mapping
element.

or use session.setMaxInactiveInterval();
rgds
Antony Paul

----- Original Message -----
From: "Arun Prasad R" <findarunhere@gmail.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 09, 2004 4:03 PM
Subject: how do i set max session time in 4.1.27


> hi all
>
> how do i set max session time in 4.1.27
> Thanks in Advance
> arun
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message