AppserverIo\Appserver\ServletEngine\Session\ApcSessionHandler::load PHP Method

load() public method

Loads the session with the passed ID from the persistence layer and returns it.
public load ( string $id ) : AppserverIo\Psr\Servlet\ServletSessionInterface
$id string The ID of the session we want to unpersist
return AppserverIo\Psr\Servlet\ServletSessionInterface The unpersisted session
    public function load($id)
    {
        try {
            return $this->unpersist($id);
        } catch (SessionDataNotReadableException $sdnre) {
            $this->delete($id);
        }
    }