public function destroy()
  {
    if ($this->sessionState == self::SESSION_STARTED) {
      $_SESSION=array();
      $this->sessionState = !session_destroy();
      unset($_SESSION);
      return !$this->sessionState;
    }
    return FALSE;
  }
public function destroy()
  {
    if ($this->sessionState == self::SESSION_STARTED) {
      $_SESSION=array();
      $this->sessionState = !session_destroy();
      unset($_SESSION);
      return !$this->sessionState;
    }
    return FALSE;
  }
public function destroy ( ) { if ( $ this -> sessionState == self :: SESSION_STARTED ) { $ _SESSION = array ( ) ; $ this -> sessionState = ! session_destroy ( ) ; unset ( $ _SESSION ) ; return ! $ this -> sessionState ; } return FALSE ; }
Destroys the current session.

@return    bool    TRUE is session has been deleted, else FALSE.
Destroys the current session .