tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ziggi Zukerman, Nice-Eye" <zig...@nice-eye.com>
Subject session expired
Date Wed, 14 Mar 2001 13:19:52 GMT
Hi,
 
Can anyone explain in details how do I set the session timeout?
 
I tried changing the web.xml in C:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF
and also the web.xml in C:\jakarta-tomcat-3.2.1\conf and nothing happened
(it times out after 30 min ).
Trying to set it in the app. by session.setMaxInactiveInterval(int seconds)
didn't help.
Below you can find the web.xml under the WEB-INF.
 
Any help will be appreciate.
 
Ziggi
 
 
<?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
<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> 

Mime
View raw message