AppserverIo\Appserver\ServletEngine\Http\Session::canBeResumed PHP Method

canBeResumed() public method

If a to-be-resumed session was inactive for too long, this function will trigger the expiration of that session. An expired session cannot be resumed. NOTE that this method does a bit more than the name implies: Because the session info data needs to be loaded, this method stores this data already so it doesn't have to be loaded again once the session is being used.
public canBeResumed ( ) : boolean
return boolean TRUE if the session can be resumed, else FALSE
    public function canBeResumed()
    {
        return !$this->autoExpire();
    }