abstract class AbstractSessionHandler implements SessionHandlerInterface, SessionUpdateTimestampHandlerInterface
This abstract session handler provides a generic implementation of the PHP 7.0 SessionUpdateTimestampHandlerInterface, enabling strict and lazy session handling.
open($savePath, $sessionName) {@inheritdoc} | ||
string | doRead(string $sessionId) | |
bool | doWrite(string $sessionId, string $data) | |
bool | doDestroy(string $sessionId) | |
validateId($sessionId) {@inheritdoc} | ||
read($sessionId) {@inheritdoc} | ||
write($sessionId, $data) {@inheritdoc} | ||
destroy($sessionId) {@inheritdoc} |
{@inheritdoc}
$savePath | ||
$sessionName |
string | $sessionId |
string |
string | $sessionId | |
string | $data |
bool |
string | $sessionId |
bool |
{@inheritdoc}
$sessionId |
{@inheritdoc}
$sessionId |
{@inheritdoc}
$sessionId | ||
$data |
{@inheritdoc}
$sessionId |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpFoundation/Session/Storage/Handler/AbstractSessionHandler.html