class SessionHolder implements HttpSessionListener{ /* (non-Javadoc) * @see javax.servlet.http.HttpSessionListener#sessionCreated(javax.servlet.http.HttpSessionEvent) */ public void sessionCreated(HttpSessionEvent arg0) { //Store session } ....
to add this listener to your webapp, add to web.xml: <!-- Listeners --> <listener> <listener-class> de.friendscout.datingr4.admin.presentation.util.SessionCounter </listener-class> </listener> regards leon On 2/10/06, Supreeth Shetty <[EMAIL PROTECTED]> wrote: > Hello all, > I got a really quick question. How do i get hold of the StandardManager > instance which the tomcat instatiates when it starts up?? > I need it to get all the active sessions the server is handling. If i can > get a hold of all session list someother way, then thats fine too ... > > thanks in advance > Supreeth > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]