MDL-43975 Sessions: Should support memcache, not just memcached
authorsam marshall <s.marshall@open.ac.uk>
Tue, 4 Feb 2014 13:48:56 +0000 (13:48 +0000)
committersam marshall <s.marshall@open.ac.uk>
Tue, 1 Apr 2014 12:34:50 +0000 (13:34 +0100)
commite645b4d580d3308b73054dac6eadf1b0a0d15dfe
tree96d0e71e047c4cb8494b6eda47dc1c9de752b23a
parentad32dda90c21dbca464df2ee2a10c7e3a8a3fd9a
MDL-43975 Sessions: Should support memcache, not just memcached

This commit adds a session handler which works using memcache (without
requiring the memcached extension), similar to the support for
memcache within MUC.

This may be less reliable than memcached but we have been using a
similar approach on our system without problems. In case, I added a
warning in config-dist.php.
config-dist.php
lib/classes/session/memcache.php [new file with mode: 0644]
lib/classes/session/memcached.php
lib/classes/session/util.php [new file with mode: 0644]