array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'memcached.sessions.php', 1 => 'Sessions support', ), 'up' => array ( 0 => 'book.memcached.php', 1 => 'Memcached', ), 'prev' => array ( 0 => 'memcached.callbacks.read-through.php', 1 => 'Read-through cache callbacks', ), 'next' => array ( 0 => 'class.memcached.php', 1 => 'Memcached', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/memcached/sessions.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
Memcached provides a custom session handler that can be used to store
user sessions in memcache. A completely separate memcached instance is used
for that internally, so you can use a different server pool if necessary. The
session keys are stored under the prefix
memc.sess.key.
, so be aware of this if you use the
same server pool for sessions and generic caching.