tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elm Gysel" <elm.gy...@dateq.be>
Subject Re: Tomcat 4.0 Session Timeout
Date Thu, 20 Sep 2001 15:13:43 GMT
" I also ask the session its timeout value and it still says 18000 seconds."

Thats weird tho, did you reboot Tomcat?

Elm

----- Original Message -----
From: "Jim Urban" <jim.urban@netsteps.net>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, September 20, 2001 4:55 PM
Subject: RE: Tomcat 4.0 Session Timeout


> > How are you noticing that your session is still active?
> I let the browser sit for 10 minutes (timeout set to 5 minutes) and I
click
> a button on my browser page which invokes one of my servlets.  The servlet
> asks for the session and receives current session complete with all the
> values (user settings) that were set in it by my logon servlet.  If the
> session had timed out, the user settings would have been null.  I also ask
> the session its timeout value and it still says 18000 seconds.
>
> Jim
>
> -----Original Message-----
> From: Elm Gysel [mailto:elm.gysel@dateq.be]
> Sent: Thursday, September 20, 2001 9:43 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Tomcat 4.0 Session Timeout
>
>
> If you have changed <session-timeout> and restarted the server then it
> should work.
>
> How are you noticing that your session is still active?
>
> Elm
>
>
> ----- Original Message -----
> From: "Jim Urban" <jim.urban@netsteps.net>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Thursday, September 20, 2001 4:27 PM
> Subject: Tomcat 4.0 Session Timeout
>
>
> > I've asked this twice already and have yet to receive an answer.
Someone
> > running Tomcat 4.0 must know the answer to my question.  I must get this
> > resolved since the security requirements of my application require the
> > user's session to automatically time out after 5 minutes of
inactivity...
> >
> > How do I set the session time out for a context in Tomcat 4.0.  The
> session
> > time out is defaulting to 18000 seconds (5 hours?).  I have tried adding
> the
> > following to both my context's WEB-INF/web.xml file and the
> > $CATALINA_HOME/conf/web.xml file but both are ignored.
> >
> >   <session-config>
> > <session-timeout>300</session-timeout>
> >   </session-config>
> >
> > How do I go about setting the time out to 5 minutes?
> >
> > Thanks,
> > Jim Urban
> > Product Manager
> > Netsteps Inc.
> > Suite 505E
> > 1 Pierce Pl.
> > Itasca, IL  60143
> > Voice:  (630) 250-3045 x2164
> > Fax:  (630) 250-3046
> >
> >
> > PS:  Love Tomcat 4.0, it seems really solid!
>


Mime
View raw message