You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Freddy Villalba A." <fv...@pericless.com> on 2004/12/07 12:36:07 UTC

Session timeout

Hi everybody,

Is it possible to configure the session timeout using the
org.apache.catalina.session.StandardManager Session Manager or am I forced
to use the Persistent Manager just for doing so?

(Tomcat v4.1)

Regards,

F.


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


Re: Session timeout

Posted by "Trond G. Ziarkowski" <tr...@gep-as.com>.
How about trying? Put this inside your <web-app> in web.xml

<session-config>
    <session-timeout>10</session-timeout>
</session-config>

The number within the session-timeout element must be expressed in minutes.

Works for me with the StandardManager, in tomcat 5

Trond


Freddy Villalba A. wrote:

>Hi everybody,
>
>Is it possible to configure the session timeout using the
>org.apache.catalina.session.StandardManager Session Manager or am I forced
>to use the Persistent Manager just for doing so?
>
>(Tomcat v4.1)
>
>Regards,
>
>F.
>
>
>---------------------------------------------------------------------
>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