JSessionStorageMemcached
class JSessionStorageMemcached extends JSessionStorage
Memcached session storage handler for PHP
Methods
Constructor
Returns a session storage handler object, only creating it if it doesn't already exist.
Register the functions of this class with PHP's session handler
Open the SessionHandler backend.
Read the data for a particular session identifier from the SessionHandler backend.
Write session data to the SessionHandler backend.
Destroy the data for a particular session identifier in the SessionHandler backend.
Garbage collect stale sessions from the SessionHandler backend.
Test to see if the SessionHandler is available.
Details
static
JSessionStorage
getInstance(
string $name = 'none',
array $options = array())
Returns a session storage handler object, only creating it if it doesn't already exist.
string
read(
string $id)
Read the data for a particular session identifier from the SessionHandler backend.
boolean
destroy(
string $id)
Destroy the data for a particular session identifier in the SessionHandler backend.