tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Wiktorczyk <kos...@fanthom.math.put.poznan.pl>
Subject Re: session expired
Date Thu, 03 Apr 2003 09:52:57 GMT
Session timeout is set in Tomcat\conf\web.xml
<!-- ==================== 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
> jesus.perez@artmediacompany.com <mailto:jesus.perez@artmediacompany.com>
> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message