From 4a637dbfdc1a357478f2834de4ad6abed362d547 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 24 Jun 2007 03:23:30 +0000 Subject: [PATCH] Fix #41454: highlight memcache session handler git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238380 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/memcache/constants.xml | 13 +++++++++++-- reference/memcache/reference.xml | 30 +++++++++++++++++++++++++----- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/reference/memcache/constants.xml b/reference/memcache/constants.xml index a940b80277..43a4895620 100644 --- a/reference/memcache/constants.xml +++ b/reference/memcache/constants.xml @@ -1,9 +1,9 @@ - +
&reftitle.constants; - MemCache Constants + Memcache Constants @@ -24,6 +24,15 @@ Memcache::replace. + + + MEMCACHE_HAVE_SESSION + (integer) + + + 1 if this Memcache session handler is available, 0 otherwise. + +
diff --git a/reference/memcache/reference.xml b/reference/memcache/reference.xml index 3ed8053ef9..e887c0919f 100644 --- a/reference/memcache/reference.xml +++ b/reference/memcache/reference.xml @@ -1,5 +1,5 @@ - + @@ -15,6 +15,10 @@ to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications. + + The Memcache module also provides a session handler (memcache). + More information about memcached can be found at &url.memcache;. @@ -51,6 +55,12 @@ memcache extension overview example + + In this example, an object is being saved in the cache and then + retrieved back. Object and other non-scalar types are serialized + before saving, so it's impossible to store resources (i.e. connection + identifiers and others) in the cache. + - In the above example, an object is being saved in the cache and then - retrieved back. Object and other non-scalar types are serialized before - saving, so it's impossible to store resources (i.e. connection identifiers - and others) in the cache. + + Using memcache session handler + + +]]> + +