Go to the source code of this file.
Functions | |
memsess_key ($id) | |
memsess_open ($save_path, $session_name) | |
memsess_close () | |
memsess_read ($id) | |
memsess_write ($id, $data) | |
memsess_destroy ($id) | |
memsess_gc ($maxlifetime) |
It redirects session handling functions to store their data in memcached instead of the local filesystem. Depending on circumstances, it may also be necessary to change the cookie settings to work across hostnames. See: http://www.php.net/manual/en/function.session-set-save-handler.php
Definition in file MemcachedSessions.php.
memsess_close | ( | ) |
memsess_destroy | ( | $ | id | ) |
Definition at line 58 of file MemcachedSessions.php.
References $wgMemc, and memsess_key().
memsess_gc | ( | $ | maxlifetime | ) |
memsess_key | ( | $ | id | ) |
Definition at line 16 of file MemcachedSessions.php.
References wfMemcKey().
Referenced by memsess_destroy(), memsess_read(), and memsess_write().
memsess_open | ( | $ | save_path, | |
$ | session_name | |||
) |
memsess_read | ( | $ | id | ) |
Definition at line 39 of file MemcachedSessions.php.
References $wgMemc, and memsess_key().
memsess_write | ( | $ | id, | |
$ | data | |||
) |
Definition at line 49 of file MemcachedSessions.php.
References $wgMemc, and memsess_key().