note 89942 added to memcached.sessions

From: Date: Mon, 30 Mar 2009 09:36:13 +0000
Subject: note 89942 added to memcached.sessions
Groups: php.notes 
Request: Send a blank email to php-notes+get-152599@lists.php.net to get a copy of this message
The above documentation is incorrect. In the current version, 0.1.4, the session keys are NOT stored under the prefix memc.sess.lock_key. Instead, they are stored under the prefix memc.sess.key. It's in the source code, line 2343 of php_memcached.c (revision 1.22). So to dump what's in your session, you can do try: vardump($memcached_cache->get('memc.sess.key.' . session_id())); ---- Server IP: 64.71.164.2 Probable Submitter: 24.185.59.176 ---- Manual Page -- http://www.php.net/manual/en/memcached.sessions.php Edit -- https://master.php.net/note/edit/89942 Del: integrated -- https://master.php.net/note/delete/89942/integrated Del: useless -- https://master.php.net/note/delete/89942/useless Del: bad code -- https://master.php.net/note/delete/89942/bad+code Del: spam -- https://master.php.net/note/delete/89942/spam Del: non-english -- https://master.php.net/note/delete/89942/non-english Del: in docs -- https://master.php.net/note/delete/89942/in+docs Del: other reasons-- https://master.php.net/note/delete/89942 Reject -- https://master.php.net/note/reject/89942 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152599) next »