On Tomcat 4.0.x, you had a Manager property for this (in server.xml, called |maxInactiveInterval|). Docs say **"The value for this property is inherited automatically if you specify a |<session-timeout>| element in the web application deployment descriptor (|/WEB-INF/web.xml|)." (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/manager.html)

I just looked 4.1.x docs (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html) and the property is gone :) What version are you using ? Perhaps now it MUST be set on web.xml...

I have a problem like yours. Development team will release an application soon that will require users to have sessions that last more that 1 hour; it's much much easier (for them) to just create a session and configure Tomcat to hold it for a whole day. Scalability is not on their minds, of course :)

I think that has to be another way, something like Persistent Manager Implementation.

Anyone knows a better way to solve this problem ?

Thanks a lot,

F.

Kenny G. Dubuisson, Jr. wrote:

Sorry to repost this but I'm kind of in a bind (got users about to lynch me
which may or may not be a bad thing). Anyway...session ID's on my site
(using Tomcat) are getting regenerated after a user has been logged in for
60 mins. I would like to change this to a higher value but don't know where
to set it. I've read throught posts on this list and I've seen some things
mention the web.xml file and its session-timeout setting but my web.xml
session-timeout setting is currently set to 30 mins in that file so that
can't be the proper setting that I'm looking for.

Any ideas would be greatly appreicated. My users are upset that they have
to re-login evey hour on an application that they use all day. Thanks in
advance,
Kenny


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
Fabio Mengue - Centro de Computacao - Unicamp
[EMAIL PROTECTED]       [EMAIL PROTECTED]
----------------------------------------------------------------
pi seconds is a nanocentury. - Tom Duff



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to