tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Polling and session timeout
Date Thu, 21 Jan 2010 15:26:25 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pid,

On 1/21/2010 3:32 AM, Pid wrote:
> On 21/01/2010 04:45, grailcattt wrote:
>>
>> That is exactly what I ended up doing and it is working well. I was
>> hoping
>> for a solution that used tomcat session management rather than
>> managing my
>> own session timeouts, but it works well.
> 
> If you put the poll servlet in a separate app and are NOT using the
> single sign on valve, you could set a separate session timeout in that
> servlet/app.
> 
> I think.

If you access the session at all, it counts as a "touch", thereby
extending the life of the session. It's not possible to "peek" at the
session without "touching" it AFAICT. There's probably a way to do this
with a replacement for either the session manager or a valve, but I
think the code would need to divine the intent of the calling code to
work properly. :(

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

iEYEARECAAYFAktYciEACgkQ9CaO5/Lv0PBSGwCgnaBldO/uP45PVvlH6qAe4EC9
G1UAnR+FLmdiRgNVt84lblWS2DZ0xkzP
=wPid
-----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