tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milan Petran" <mpet...@trask.cz>
Subject RE: session expired
Date Sun, 06 Apr 2003 13:07:22 GMT
Hi, we found an error in Tomcat works with session refreshing. When requesting session, it
refreshes itself but with time of previous request. So after a period of time, session always
unexpectedly timed-out. We have reported that to Bugzilla so suppose the fix will be available
in next release. I can offer you a fixed and rebuild catalina.jar file.

Milan Petran


-----Original Message-----
From: J." Pérez [mailto:jesus.perez@artmediacompany.com] 
Sent: Thursday, April 03, 2003 11:20 AM
To: tomcat-user@jakarta.apache.org
Subject: session expired


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
Llave pública PGP   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