You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Arun Prasad R <fi...@gmail.com> on 2004/09/09 12:33:39 UTC

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


Re: how do i set max session time in 4.1.27

Posted by Arun Prasad R <fi...@gmail.com>.
thanks paul

though i set session.setMaxInactiveInterval();
sombody is overriding this action
any help

arun

On Thu, 9 Sep 2004 16:24:05 +0530, Antony Paul <an...@hotmail.com> wrote:
> 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" <fi...@gmail.com>
> To: "Tomcat Users List" <to...@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


Re: how do i set max session time in 4.1.27

Posted by Antony Paul <an...@hotmail.com>.
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" <fi...@gmail.com>
To: "Tomcat Users List" <to...@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