public void changeStateAndNotify(SessionEventType eventType){
  fireSessionEvent(eventType);
  sessionLogging.logEvent(toSessionInfo(),eventType);
  timedOutTimeInSeconds=MILLISECONDS.toSeconds(currentTimeMillis());
  putProperty("SessionTimedOut",String.valueOf(timedOutTimeInSeconds));
  sessionService.execSessionTimeoutHandlers(sessionID,eventType);
  sessionService.destroyInternalSession(sessionID);
}

public void changeStateAndNotify ( SessionEventType eventType ) { fireSessionEvent ( eventType ) ; sessionLogging . logEvent ( toSessionInfo ( ) , eventType ) ; timedOutTimeInSeconds = MILLISECONDS . toSeconds ( currentTimeMillis ( ) ) ; putProperty ( "SessionTimedOut" , String . valueOf ( timedOutTimeInSeconds ) ) ; sessionService . execSessionTimeoutHandlers ( sessionID , eventType ) ; sessionService . destroyInternalSession ( sessionID ) ; }
changes the state of the session and sends session notification when session times out .
