StrictSessionHandler
class StrictSessionHandler extends AbstractSessionHandler
Adds basic SessionUpdateTimestampHandlerInterface
behaviors to another SessionHandlerInterface
.
Methods
open($savePath, $sessionName) {@inheritdoc} | ||
validateId($sessionId) {@inheritdoc} | from AbstractSessionHandler | |
read($sessionId) {@inheritdoc} | from AbstractSessionHandler | |
write($sessionId, $data) {@inheritdoc} | from AbstractSessionHandler | |
destroy($sessionId) {@inheritdoc} | from AbstractSessionHandler | |
__construct(SessionHandlerInterface $handler) | ||
updateTimestamp($sessionId, $data) {@inheritdoc} | ||
close() {@inheritdoc} | ||
gc($maxlifetime) {@inheritdoc} |
Details
open($savePath, $sessionName)
{@inheritdoc}
Parameters
$savePath | ||
$sessionName |
validateId($sessionId)
{@inheritdoc}
Parameters
$sessionId |
read($sessionId)
{@inheritdoc}
Parameters
$sessionId |
write($sessionId, $data)
{@inheritdoc}
Parameters
$sessionId | ||
$data |
destroy($sessionId)
{@inheritdoc}
Parameters
$sessionId |
__construct(SessionHandlerInterface $handler)
Parameters
SessionHandlerInterface | $handler |
updateTimestamp($sessionId, $data)
{@inheritdoc}
Parameters
$sessionId | ||
$data |
close()
{@inheritdoc}
gc($maxlifetime)
{@inheritdoc}
Parameters
$maxlifetime |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.html