miércoles, 30 de mayo de 2012

How to set session timeout of Tomcat within Eclipse

Well, this is not related directly with Magnolia but in any case I find it useful.

Usually to set the session timeout, you go to your Tomcat installation, conf folder, open web.xml file and change the default value:

<session-config> <session-timeout>30</session-timeout> </session-config> 

Within Eclipse, you will have to go to the workspace folder, servers, then inside the tomcat-config folder you will find the web.xml used by Eclipse.

 Hope this helps.