tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Bouchereau" <olivier.boucher...@gmail.com>
Subject Re: session timeout
Date Mon, 28 May 2007 07:54:23 GMT
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 <olivier.bouchereau@gmail.com>:
>
> 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 <goupilpierre@gmail.com> 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)
> >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message