tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Urban" <jim.ur...@netsteps.net>
Subject RE: Tomcat 4.0 Session Timeout
Date Thu, 20 Sep 2001 18:31:50 GMT
Fine, its not a feature, it's part of the servlet spec.  The problem is, I
can't get it to work and no-one seems to be able to offer me any suggestions
as to why its not working, or how to get it working.

Jim

-----Original Message-----
From: Vladimir Grishchenko [mailto:vladgri@hotmail.com]
Sent: Thursday, September 20, 2001 1:22 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: Tomcat 4.0 Session Timeout


It's not a TC feature, it's in servlet spec, and it was there at least since
2.1.

--V.


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


> I can, but this defeats the purpose of configuring Tomcat to set it for
me.
> Was this feature removed or just moved in 4.0?
>
> Jim
>
> -----Original Message-----
> From: Vladimir Grishchenko [mailto:vladgri@hotmail.com]
> Sent: Thursday, September 20, 2001 12:27 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Tomcat 4.0 Session Timeout
>
>
> Can you use HttpSession.setMaxInactiveInterval(int)  method to set it at
> runtime?
>
> --V.
>
>
> ----- Original Message -----
> From: "Jim Urban" <jim.urban@netsteps.net>
> To: "Tomcat-User" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, September 20, 2001 9:52 AM
> Subject: Tomcat 4.0 Session Timeout
>
>
> >
> > I've now asked this three times and have yet to receive a solution.  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