code: protected void addSessionInfo(CmsSessionInfo sessionInfo) {
  
          if (getUserSessionMode() == UserSessionMode.standard) {
              m_sessionStorageProvider.put(sessionInfo);
          } else if (getUserSessionMode() == UserSessionMode.single) {
              CmsUUID userId = sessionInfo.getUserId();
              List<CmsSessionInfo> infos = getSessionInfos(userId);
              if (infos.isEmpty()
                  || ((infos.size() == 1) && infos.get(0).getSessionId().equals(sessionInfo.getSessionId()))) {
                  m_sessionStorageProvider.put(sessionInfo);
              } else {
                  throw new RuntimeException("Can't create another session for the same user.");
              }
          }
      }
docs: Adds a new session info into the session storage.<p>
  
  @param sessionInfo the session info to store for the id