tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: how to keep session alive on the server side
Date Tue, 23 Nov 2010 21:08:20 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 11/23/2010 1:46 PM, Caldarale, Charles R wrote:
>> From: Aggarwal, Ajay [mailto:Ajay.Aggarwal@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.

+1

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzsLUQACgkQ9CaO5/Lv0PCJqQCggGYgrWMMXot0GcewwcenR1FM
IzQAniHYsOs1iJfVMmn2T7vHoOnfk/N4
=0ZGB
-----END PGP SIGNATURE-----

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


Mime
View raw message