-1 seems to work, at least I have much better results than with 0. I quoted directly from the servlet 2.3 FCS spec.
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 11:17 AM To: Tomcat Users List Subject: RE: session timeout Hi, (Too lazy to dig up the spec for the nth time today) I thought the spec said -1 ensures they never expire. Not 0 or less. Did you try -1? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Koes, Derrick [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, August 14, 2002 11:12 AM >To: '[EMAIL PROTECTED]' >Subject: session timeout > >How closely does Tomcat follow the servlet specification concerning >web.xml? > > > >I added the following to my web.xml, but the session seems to timeout >immediately (0 minutes). > > <session-config> > > <session-timeout>0</session-timeout> > > </session-config> > > > >However, the servlet 2.3 spec states: > > > >"If the timeout is 0 or less, the container ensures the default behaviour >of >sessions is never to time out." > > > >The bottom line is I need to know how to make my webapp's session never >timeout. > >Can anyone help? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
