<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->
<session-config>
<session-timeout>30</session-timeout>
</session-config>J. Pérez wrote:
Hi,
Can anyone explain in details how do I set the session timeout?
I tried changing the web.xml in C:\jakarta-tomcat-4.1.8\webapps\ROOT\WEB-INF and also the web.xml in C:\jakarta-tomcat-4.1.8\conf and nothing happened (it times out after 30 min ).
Below you can find the web.xml under the WEB-INF.
Any help will be appreciate.
J.Pérez
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-class>com.niceeye.portal.common.StartupServlet</servlet-class> <load-on-startup></load-on-startup>
</servlet>
<session-config>
<session-timeout>1</session-timeout>
</session-config>
</web-app>
Jesús Pérez Franco
Tlf: (+34) 913212059 Fax: (+34) 913378822
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Llave pública PGP <http://usuarios.lycos.es/jperezfranco/public-key.asc> Ingeniero en Informática
Telefónica Soluciones
Sor Ángela de la Cruz, 3. Planta 1. 28020 Madrid
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
