public void unsetActiveSession ( ) { if ( log . isInfoEnabled ( ) ) { log . info ( "Setting no active session for site '" + site + "'." ) ; } if ( this . activeSession != null ) { this . activeSession . setActive ( false ) ; // If the active session was one with no tokens, delete it, at 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 = null ; } }
Unset any active session for this site .