MemcachedSessionHandler
class MemcachedSessionHandler implements SessionHandlerInterface
MemcachedSessionHandler.
Memcached based session storage handler based on the Memcached class provided by the PHP memcached extension.
Methods
__construct(Memcached $memcached, array $options = array())
Constructor.
open($savePath, $sessionName)
{@inheritdoc}
close()
{@inheritdoc}
read($sessionId)
{@inheritdoc}
write($sessionId, $data)
{@inheritdoc}
destroy($sessionId)
{@inheritdoc}
gc($maxlifetime)
{@inheritdoc}
Details
at line line 53
__construct(Memcached $memcached, array $options = array())
Constructor.
List of available options: * prefix: The prefix to use for the memcached keys in order to avoid collision * expiretime: The time to live in seconds
at line line 70
open($savePath, $sessionName)
{@inheritdoc}
at line line 78
close()
{@inheritdoc}
at line line 86
read($sessionId)
{@inheritdoc}
at line line 94
write($sessionId, $data)
{@inheritdoc}
at line line 102
destroy($sessionId)
{@inheritdoc}
at line line 110
gc($maxlifetime)
{@inheritdoc}