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

delete() public method

Deletes the session with the passed ID from the persistence layer.
public delete ( string $id ) : void
$id string The ID of the session we want to delete
return void
    public function delete($id)
    {
        if (apc_delete($id) === false) {
            throw new SessionCanNotBeDeletedException(sprintf('Session with ID %s can not be deleted', $id));
        }
    }