you could write a HttpSessionListener: in your WEB-INF:
<listener> <listener-class>com.my.SessionObserver</listener-class> </listener> class: public class SessionObserver implements HttpSessionListener { private static final Log LOG = LogFactory.getLog(SessionObserver.class); public void sessionCreated(HttpSessionEvent se) { HttpSession s=se.getSession(); if (LOG.isDebugEnabled()) LOG.debug("sessionCreated " + s.getId()); } public void sessionDestroyed(HttpSessionEvent se) { HttpSession s=se.getSession(); /* do something here */ } public SessionObserver() { if (LOG.isDebugEnabled()) LOG.debug("<init>"); } } -harald ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user