protected function unpersist($id)
    {

        // the requested session file is not a valid file
        if (apc_exists($id) === false) {
            return;
        }

        // decode the session from the filesystem
        if (($marshalled = apc_fetch($id)) === false) {
            throw new SessionDataNotReadableException(sprintf('Can\'t load session with ID %s', $id));
        }

        // create a new session instance from the marshaled object representation
        return $this->unmarshall($marshalled);
    }
protected function unpersist($id)
    {

        // the requested session file is not a valid file
        if (apc_exists($id) === false) {
            return;
        }

        // decode the session from the filesystem
        if (($marshalled = apc_fetch($id)) === false) {
            throw new SessionDataNotReadableException(sprintf('Can\'t load session with ID %s', $id));
        }

        // create a new session instance from the marshaled object representation
        return $this->unmarshall($marshalled);
    }
protected function unpersist ( $ id ) { // the requested session file is not a valid file if ( apc_exists ( $ id ) === false ) { return ; } // decode the session from the filesystem if ( ( $ marshalled = apc_fetch ( $ id ) ) === false ) { throw new SessionDataNotReadableException ( sprintf ( 'Can\'t load session with ID %s' , $ id ) ) ; } // create a new session instance from the marshaled object representation return $ this -> unmarshall ( $ marshalled ) ; }
Tries to load the session data with the passed ID.

@param string $id The ID of the session to load

@return \AppserverIo\Psr\Servlet\Http\HttpSessionInterface The unmarshalled session
@throws \AppserverIo\Appserver\ServletEngine\SessionDataNotReadableException Is thrown if the file containing the session data is not readable
Tries to load the session data with the passed ID .