There is a spelling mistake in what i wrote :

<session-config>
 <session-timeout>60</session-timeout>
</session-config>

This should work better i guess ;)

2007/5/28, Olivier Bouchereau <[EMAIL PROTECTED]>:

Hello Pierre,

Try setting this in your tomcat /conf/web.xml.
It should work for all the contexts.

<session-config>
  <session-timeout>60</session-timout>
</session-config>

(the time is specified in mins)

Or you can set this in a specific webapp web.xml so that it would be the
only one with a 60 minutes session timeout.

Olivier

Le 28/05/07, Pierre Goupil <[EMAIL PROTECTED]> a écrit :
>
> 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.
>
> I'm using Tomcat 5.5.
>
> Regards,
>
> Pierre
>
>
> --
> "Mon horizon était désormais les pétales courbés,
> Ma nouvelle demeure resplendissait de flèches d'herbes folles
> Et d'oreillers de pollens odorants."
>
> (Naïmah, le philosophe Fémereif)
>


Reply via email to