Hello,
Assuming you are using a recent version of Apache Tomcat, the application-wide
configuration file (normally called "web.xml", normally stored in your app's WEB-INF
directory) permits directives such as:
<session-config>
<session-timeout>
30 <!-- i.e., 30 minutes of inactivity until the session
is timed out -->
</session-timeout>
</session-config>
This is, of course, in the doc. As far as your problem goes, am I correct in my
understand that you want to preserve session attributes after the session has timed
out? Or did you simply want to know how to set the session timeout?
Luck!
--john
On Wed, Feb 28, 2001 at 11:05:43PM +0200, M. Amin wrote:
> Hi All,
> When the session times out the method getValue(existedObject) returns null
> is there a way to control the session time out so that i can return the stored
> existedObject.
> Any help will be appreciated.
>
> Regards,
> M. Amin
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html