public function accept()
    {

        // load the current file
        $splFileInfo = $this->getInnerIterator()->current();

        // calculate the maximum age of sessions we want to load
        $aTime = time() - $this->maximumAge;

        // compare the session files age against the maximum age
        if ($splFileInfo->getATime() < $aTime) {
            return false;
        }

        return true;
    }
public function accept()
    {

        // load the current file
        $splFileInfo = $this->getInnerIterator()->current();

        // calculate the maximum age of sessions we want to load
        $aTime = time() - $this->maximumAge;

        // compare the session files age against the maximum age
        if ($splFileInfo->getATime() < $aTime) {
            return false;
        }

        return true;
    }
public function accept ( ) { // load the current file $ splFileInfo = $ this -> getInnerIterator ( ) -> current ( ) ; // calculate the maximum age of sessions we want to load $ aTime = time ( ) - $ this -> maximumAge ; // compare the session files age against the maximum age if ( $ splFileInfo -> getATime ( ) < $ aTime ) { return false ; } return true ; }
This method compares the session files age against the configured
maximum age of session files we want to load.

@return boolean TRUE if we want to load the session, else FALSE
This method compares the session files age against the configured maximum age of session files we want to load .