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} | ||
gc($maxlifetime) {@inheritdoc} |
Details
open($savePath, $sessionName)
{@inheritdoc}
close()
{@inheritdoc}
read($sessionId)
{@inheritdoc}
write($sessionId, $data)
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
gc($maxlifetime)
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/HttpFoundation/Session/Storage/Handler/NullSessionHandler.html