#47837 [Opn->Csd]: Documentation error in memcached.sessions

From: Date: Tue, 21 Apr 2009 01:35:38 +0000
Subject: #47837 [Opn->Csd]: Documentation error in memcached.sessions
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2121@lists.php.net to get a copy of this message
 ID:          47837
 Updated by:  fa@php.net
 Reported By: thiago@php.net
-Status:      Open
+Status:      Closed
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2009-03-30 12:15:55] thiago@php.net

Description:
------------
User KonstantinRozinov noted in
http://www.php.net/manual/en/memcached.sessions.php:

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()));



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47837&edit=1



Thread (2 messages)

« previous php.doc.bugs (#2121) next »