MemcacheSessionHandler
class MemcacheSessionHandler implements SessionHandlerInterface
MemcacheSessionHandler.
Methods
__construct(Memcache $memcache, 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 48
__construct(Memcache $memcache, array $options = array())
Constructor.
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
at line line 64
open($savePath, $sessionName)
{@inheritdoc}
at line line 72
close()
{@inheritdoc}
at line line 80
read($sessionId)
{@inheritdoc}
at line line 88
write($sessionId, $data)
{@inheritdoc}
at line line 96
destroy($sessionId)
{@inheritdoc}
at line line 104
gc($maxlifetime)
{@inheritdoc}