tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: How to keep track of sessions
Date Wed, 14 Aug 2002 13:06:20 GMT
You can implement a ContextListener that persists your Vector
when the Context is shutdown.

A quite dirty trick would be to store a reference to the 
Vector in each session and let tomcat do the work for you.

> -----Urspr√ľngliche Nachricht-----
> Von: Mark O'Driscoll [mailto:markonm@eircom.net]
> Gesendet: Mittwoch, 14. August 2002 14:45
> An: Tomcat Users List
> Betreff: How to keep track of sessions
> 
> I have a HttpSessionListener that is correctly called on
> sessionCreated/sessionDeleted. I keep a reference to each 
> session in the servletContext as a Vector.
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message