The documentation is your friend. If the documentation fails you, Google is
always there for you.
<web-app>
<display-name>myApp</display-name>
<servlet>
<servlet-name>index</servlet-name>
<display-name>index</display-name>
<jsp-file>/index.jsp</jsp-file>
</servlet>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
Change "30" to "60".
I think you can also use HttpSession.setMaxInactiveInterval():
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSession
.html#setMaxInactiveInterval(int)
John
> -----Original Message-----
> From: Mark Goking [mailto:Mark.Goking@;asia.bigfoot.com]
> Sent: Thursday, November 07, 2002 4:32 AM
> To: Tomcat Users List
> Subject: where and how to set session time out to 1 hr?
>
>
>
>
> where and how to set session time out to 1 hr?
>
> im using jboss-tomcat combo
>
> mark
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.410 / Virus Database: 231 - Release Date: 10/31/2002
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@;jakarta.apache.org>
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>