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">
<web-app>
<servlet>
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>
<load-on-startup></load-on-startup>
</servlet>
<session-config>
<session-timeout>1 </session-timeout>
</session-config>
</web-app>
</session-config>
</web-app>