code: protected void sessionCreated(HttpSessionEvent event) {
  
          HttpServletRequest request = OpenCmsServlet.currentRequest.get();
          String tid = "[" + Thread.currentThread().getId() + "] ";
          synchronized (m_lockSessionCount) {
              m_sessionCountCurrent = (m_sessionCountCurrent <= 0) ? 1 : (m_sessionCountCurrent + 1);
              m_sessionCountTotal++;
              if (LOG.isInfoEnabled()) {
                  LOG.info(
                      tid
                          + Messages.get().getBundle().key(
                              Messages.LOG_SESSION_CREATED_2,
                              new Integer(m_sessionCountTotal),
                              new Integer(m_sessionCountCurrent)));
              }
          }
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(tid + Messages.get().getBundle().key(Messages.LOG_SESSION_CREATED_1, event.getSession().getId()));
              if (request != null) {
                  LOG.debug(tid + "Session created in request: " + request.getRequestURL());
              }
              StringWriter sw = new StringWriter();
              new Throwable("").printStackTrace(new PrintWriter(sw));
              String stackTrace = sw.toString();
              LOG.debug(tid + "Stack = \n" + stackTrace);
          }
      }
docs: Called by the {@link OpenCmsListener} when a http session is created.<p>
  
  @param event the http session event
  
  @see javax.servlet.http.HttpSessionListener#sessionCreated(javax.servlet.http.HttpSessionEvent)
  @see OpenCmsListener#sessionCreated(HttpSessionEvent)