tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From albrecht andrzejewski <albrecht.andrzejew...@ema.fr>
Subject Re: session timeout
Date Mon, 28 May 2007 13:23:34 GMT
Quoting Pierre Goupil <goupilpierre@gmail.com>:

> Hello all !
>
> I'm using a Tomcat-based authentication. How do you do to set the session
> timeout time ? I mean, the time of inactivity after which one the user must
> re-login.

You can set the http session-time into the Web.xml file of you webapp:

   <session-config>
         <session-timeout>
             Your_value_in_minutes
         </session-timeout>
     </session-config>

you can set it programmatically to (have a look to the j2ee javadoc)

Goupil, c'est un nom prédestiné pour l'informatique ca ;-)

----------------------------------------------------
Ce message a ete envoye par le serveur IMP de l'EMA.



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message