public void sessionCreated ( final HttpSessionEvent event ) { counter ++ ; final HttpSession session = event . getSession ( ) ; final String id = session . getId ( ) ; SESSIONS . put ( id , session ) ; }
Fires whenever a new session is created .