> From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] 
> Subject: how to keep session alive on the server side

> I have a situation where client enters a long duration 
> request and I need to keep the session alive for the 
> client while this long duration request is going on.
> Since this long duration request could be hours, I do
> not want to change the default HTTP session timeout value.

Does the client provide any indication that it's about to enter the "long 
duration" state?  If so, you can call HttpSession.setMaxInactiveInterval() for 
that particular session from whatever JSP, servlet, or filter receives the 
indication.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to