in memcache D7 module's README.txt,
" ... NOTE: Session.inc is not yet ported to Drupal 7. ..."

otoh, comments @ http://drupal.org/node/1206608 re: Drupal 7,
" ... since if you use the cache, lock and session backends ..."
suggests it's usable and in use.

testing with,

cat settings.php

...
  $conf += array(
   'cache_backends' => array(
     'sites/all/modules/memcache/memcache.inc',
     'sites/all/modules/varnish/varnish.cache.inc',
   ),
   'cache_default_class'          => 'MemCacheDrupal',
...
   'lock_inc'            => './sites/all/modules/memcache/memcache-lock.inc',
   'session_inc'         => './sites/all/modules/memcache/memcache-session.inc',
...

returns @syslog,

Jul 2 07:28:08 test drupal: http://test.loc|1309616888|php|10.10.122.13|http://test.loc/|http://test.loc/admin|0||Notice: Undefined property: stdClass::$session in _drupal_session_read() (line 56 of /srv/d7/test_013/sites/all/modules/memcache/memcache-session.inc).

is memcache D7 session handling usable?

Comments

catch’s picture

Category: support » bug
Status: Active » Closed (duplicate)

Just a note the client I had last year using D7 memcache was actually using the mongodb session backend instead of memcache, so it may well not be usable yet.

Marking as duplicate of #656838: [META] Port sessions to D7 .