tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Brantner <brant...@m-brantner.de>
Subject Re: session timeout
Date Wed, 17 Jan 2001 15:57:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----

Hi,

> I need to do some work when tomcat session gets timed out. Could anyone of
> you suggest how I can do it.
>
> Changing invalidate/expire method would be the last thing I like to do. Is
> there any other way (call back method??).

if I understood you right, you could use the following Method in the API 2.3

javax.servlet.http.HttpSessionListener.sessionDestroyed(HttpSessionEvent)

just implement the HttpSessionListener to an Objekt you want to use this 
feature and include this method. You have to configure Catalina for use of 
listeners.

- -- 

mfg/best regards
	Matthias Brantner

- ----------------------------------------------
Tel.:	0621-4055337
Mobil.:	0179-1006325
PGP:	http://www.m-brantner.de/MatthiasBrantner.asc
- ---------------------------------------------
-----BEGIN PGP SIGNATURE-----
Comment: URL: http://www.m-brantner.de

iQEVAwUBOmXA/IwOhqJXuTDPAQEO8gf+JSbRYmSpYAf1q35M17bQ93SoiVoHJ75R
WUbHfsNwywCbWiMtls3dYi8aTJatyaXv1dCNGelKJUaOkTXJCkSwGRb0eqLuE3Hk
LoUIq6r17UQyG1EjeDAEZp0lEpaos6kLj7pWLl79Idq7sxEtuKfvcZlTL467OVIK
+gKNPRBOfpDzvNHf4o7R0cMswJbv5nWSOw6ypkOPOpuLsTTGj8P1/In/NdPVXsGw
T4+rnxOnByM1z7+M5Tx3Q8xq3NWD9poamEXVhQ+6IScf2qjqtq1LWfckb3sAf9Vr
P6nv75XvLPB100JRmE9ujHSrArd391DbjOO4vKC1aM4ovPmJtelMrg==
=9kNL
-----END PGP SIGNATURE-----

Mime
View raw message