class NullSessionHandler implements SessionHandlerInterface

NullSessionHandler.

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

Methods

open($savePath, $sessionName)

{@inheritdoc}

close()

{@inheritdoc}

read($sessionId)

{@inheritdoc}

write($sessionId, $data)

{@inheritdoc}

destroy($sessionId)

{@inheritdoc}

gc($maxlifetime)

{@inheritdoc}

Details

at line 26
open($savePath, $sessionName)

{@inheritdoc}

Parameters

$savePath
$sessionName

at line 34
close()

{@inheritdoc}

at line 42
read($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line 50
write($sessionId, $data)

{@inheritdoc}

Parameters

$sessionId
$data

at line 58
destroy($sessionId)

{@inheritdoc}

Parameters

$sessionId

at line 66
gc($maxlifetime)

{@inheritdoc}

Parameters

$maxlifetime