class MemcacheSessionHandler implements SessionHandlerInterface
deprecated
__construct(Memcache $memcache, array $options = array()) List of available options: * prefix: The prefix to use for the memcache keys in order to avoid collision * expiretime: The time to live in seconds | ||
open($savePath, $sessionName) {@inheritdoc} | ||
close() {@inheritdoc} | ||
read($sessionId) {@inheritdoc} | ||
write($sessionId, $data) {@inheritdoc} | ||
destroy($sessionId) {@inheritdoc} | ||
gc($maxlifetime) {@inheritdoc} |
List of available options: * prefix: The prefix to use for the memcache keys in order to avoid collision * expiretime: The time to live in seconds
Memcache | $memcache | A \Memcache instance |
array | $options | An associative array of Memcache options |
InvalidArgumentException | When unsupported options are passed |
{@inheritdoc}
$savePath | ||
$sessionName |
{@inheritdoc}
{@inheritdoc}
$sessionId |
{@inheritdoc}
$sessionId | ||
$data |
{@inheritdoc}
$sessionId |
{@inheritdoc}
$maxlifetime |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcacheSessionHandler.html