Session state gives you information about how active session currently is. You can get the current state by calling Doctrine_Session::getState().