class AbstractSessionHandler implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface

This abstract session handler provides a generic implementation of the PHP 7.0 SessionUpdateTimestampHandlerInterface, enabling strict and lazy session handling.

Methods

open($savePath, $sessionName)

{@inheritdoc}

validateId($sessionId)

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

Details

at line line 32
open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 67
validateId($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 78
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 101
write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

at line line 118
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId