IMHO: Your web app web.xml overrides Tomcat's web.xml. Your application
code overrides both.

> 
> I've checked the Tomcat-User and Struts-User archives for an 
> answer to this, but am still not sure of the answer.  Given 
> that I can set a session timeout interval in Tomcat's 
> configuration file (web.xml), the web application itself 
> (web.xml), and also by setting 
> 'session.setMaxInactiveInterval(#secs)', who wins?  In other 
> words, if I have the following:
> 
>       Tomcat                          timeout is 30 minutes
>       Web Appl.                       timeout is 45 minutes
>       session.setMaxInactiveInterval  3600 seconds (or 60 minutes)
> 
> does the users session 'live' for the full 60 minutes?  Or 
> does one of the other settings take precedence?
> 
>


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

Reply via email to