tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Crystal Maramba <>
Subject RE: Expire Sesssion
Date Thu, 05 Dec 2013 23:25:24 GMT

-----Original Message-----
From: Tomcat Random [] 
Sent: Thursday, December 05, 2013 3:03 PM
To: Tomcat Users List
Subject: Re: Expire Sesssion


True. But changing the web.xml file will still require a restart. It depends on if she wants
to change this frequently or permanently. The interval could go in a properties file as well,
setMaxInactiveInterval(...) is used. Also requires a restart by default but there are file


On Thu, Dec 5, 2013 at 3:55 PM, Christopher Schultz <>

> Hash: SHA256
> Alec,
> On 12/5/13, 3:29 PM, Tomcat Random wrote:
> > Crystal,
> >
> > At the risk of stating the obvious, you can also override the 
> > default session timeout programmatically using HttpSession's
> > method:
> >
> > setMaxInactiveInterval(int interval)
> I'm guessing that since Crystal doesn't want to modify web.xml, she's 
> not going to want to modify the source and re-compile.
> - -chris

Hi Alec,

This is an internal site so restart is ok. I would prefer it to be permanent. Can you send
me an example of what you are referring to for "properties file"?

Hi Chris,

Sorry I misunderstood your comment. Thanks for the clarification. I am actually looking for
other options besides modifying the web.xml config file. Someone mentioned that we could do
it through the Tomcat Manager but I didn't see how that would be possible, so I was looking
at getting other options or clarification as to how that could be done.

I don't mind making the modification to the web.xml file at the web app level and at the tomcat
home  level. 

> Version: GnuPG v1.4.15 (Darwin)
> Comment: GPGTools -
> Comment: Using GnuPG with Thunderbird -
> P0LgiWDUvpnDCr2o+LPJLtTBbB3bHD/slkdvCNXXE91iaSUhuEJgulbaxalgSW/f
> nxDtoShBvkJywG2zm/3g+kePOQCyyQTON2ywzm/2emVzSLKFXF+J6kACLJgsYsVr
> 3BAUdhXWxCsowJO84iG5b4agSdl0TgwQl3Y3WZiPkilWmtqI2i4Ua/oInjrbqlKr
> xcDcT1u37YKHDb/9hQUJ7wJq+2ZuRS5hqZsMI40qoinfVzEX297bctFi8Vj5XYAN
> qjG6JBT9u0C9oJZi5LOKesjB4WSj+frt8tli3CZu39z7AI1upmushVRPp8caRN9N
> 6cZpGkJxNz8HZzmFYIvkNWDBAHSEIM/fjmH3hZ59OFLzhi6mOtckH0daBGIFcTA9
> a8XkYXFMYWGfXPmQyha8K//NOCSyGCxMo2Uo/ZkWVq1bDp1rs0Gnsf2cNuI5izL3
> hQlLlK0bbysoGamWjnsC5hwU3p43ZPYJkpc12Dzs7jlUkHav14QlQgA6DRE4o7ZY
> /4rfTVWvGAR+qG6bF9ynBb856JMdTJmDz8vVPpzE7sy4GREcNrJ7m1tT3TyZ5Bxf
> 3XkJ3AOFzelkUQAwL8FH
> =UMid
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message