If you need something more programatic, the javax.servlet.http.HttpSessionListener class (Servlet 2.3) can be configured in your deployment descriptor and can be used to track session creation/destruction for whatever purposes you need.
peace, Joe > -----Original Message----- > From: Paul Spencer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 3:13 PM > To: Jetspeed Users List > Subject: Re: Monitoring number of sessions/logged in users > > > The number of session is available from the servlet engine, i.e. > Tomcat's manager webapp. Since users do not login via the servlet > engine, you will not be able to tell which sessions are > logged in or the > users connected. > > Paul Spencer > > Luta, Raphael (VUN) wrote: > > >De : Stefan Kuhn [mailto:[EMAIL PROTECTED]] > > > > > >>Envoy� : mercredi 8 janvier 2003 18:58 > >>� : Jetspeed Users List > >>Objet : Monitoring number of sessions/logged in users > >> > >> > >>Hi everybody, > >>I thought it could be usefull to have the possibility for the > >>admin to > >>monitor the number of open sessions/currently logged in > >>users, but I didn't > >>find it. Is it somewhere in the admin portlets ? If not, I > suppose it > >>wouldn't be too difficult to implement. Or does sombody know > >>problems I don't > >>expect myself ? (If not, I would implement it for myself and > >>contribute the > >>code, if considered to be usefull). > >>Happy new year to all jetspeed people > >>Stefan > >> > >> > >> > > > >Depending on your setup and what exactly you want to count, it rates > >from dead easy to moderately challenging (in clustered > environment without > >global session coherence). > > > >The easiest way to setup is to bind a counter object to all > sessions using > >the HttpSessionListener in a custom SessionValidator. > > > >-- > >Rapha�l Luta - [EMAIL PROTECTED] > >Jakarta Jetspeed - Enterprise Portal in Java > >http://jakarta.apache.org/jetspeed/ > > > >-- > >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
