-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mikolaj,

Mikolaj Rydzewski wrote:
> Ehlers, Kolja wrote:
>> is it somehow possible to set a different session timeout for local
>> 192.168... users and others? I know I could have a rewrite rule and then
>> forward all calls from local workstation to a different webapp folder
>> but I
>> thought maybe there is a more easy way to do this.
>>   
> Servlet filter that will make use of HttpSession#getLastAccessedTime()
> and invalidate session for 'local' users.

I would flip the logic around and instead use setMaxInactiveInterval for
sessions considered "local" and then allow TC to handle the expiration.

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

iEYEARECAAYFAkkcYPcACgkQ9CaO5/Lv0PCuDQCfW05qw/1lvIaO22ary8EO0mtx
Ie4An0z8RP0f/PucSG19Z6yXXtaB3FNc
=d8Ew
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to