class NullSessionHandler extends AbstractSessionHandler

Can be used in unit testing or in a situations where persisted sessions are not desired.

Methods

open($savePath, $sessionName)

{@inheritdoc}

validateId($sessionId)

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

close()

{@inheritdoc}

updateTimestamp($sessionId, $data)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

Details

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

{@inheritdoc}

Parameters

$savePath
$sessionName

at line line 32
validateId($sessionId)

{@inheritdoc}

Parameters

$sessionId

in AbstractSessionHandler at line line 75
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

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

{@inheritdoc}

Parameters

$sessionId
$data

in AbstractSessionHandler at line line 126
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line line 24
close()

{@inheritdoc}

at line line 48
updateTimestamp($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

at line line 72
gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime