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 programmatically expire inactive sessions?
Date Tue, 09 Oct 2012 18:27:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kirill,

On 10/9/12 12:22 PM, Kirill Kireyev wrote:
> I think I figured it out. It seems /manager/text/expire only lists
> the expiration info, instead of expiring sessions. Also, wget
> wasn't authenticating me properly. Instead I used curl against the
> html interface: curl --anyauth -u xxx:yyy --data "idle=20" -d
> path=/zzz http://localhost:8080/manager/html/expire
> 
> Though I'm still not sure why my sessions aren't expiring
> automatically...

Is is possible that you have a broken HttpSessionBindingListener or
HttpSessionListener that is preventing Tomcat from actually performing
the expirations?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB0bKEACgkQ9CaO5/Lv0PBSbwCgrat4Bz5jDdnh5FoAIRRu+AhE
258An2f0l4NOJ3vd8ch1e+/26zQP1MF3
=1MMn
-----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