docs: public void setActiveSession(HttpSession activeSession) {
  		if (log.isInfoEnabled()) {
  			log.info("Setting new active session for site '" + site + "': " + activeSession);
  		}
  		if (activeSession == null) {
  			throw new IllegalArgumentException(
  					"When settting an active session, a non-null session has to be provided.");
  		}
  
  		if (this.activeSession == activeSession) {
  			return;
  		}
  
  		if (this.activeSession != null) {
  			this.activeSession.setActive(false);
  			// If the active session was one with no tokens, delete it, as it will probably not
  			// match anything from this point forward
  			if (this.activeSession.getTokenValuesCount() == 0) {
  				this.removeHttpSession(this.activeSession);
  			} else {
  				// Notify the model that the session is updated
  				model.fireHttpSessionUpdated(this.activeSession);
  			}
  		}
  		this.activeSession = activeSession;
  		activeSession.setActive(true);
  		// Notify the model that the session is updated
  		model.fireHttpSessionUpdated(activeSession);
  	}