NullSessionHandler

NullSessionHandler

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}

登录查看完整内容