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