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 + + +]]> + +