After a user has browsed a website for 6 minutes, memcache-session.inc starts updating users.access in the database for every page load. This is because the logic for updating the user.access has changed slightly from the 5.x code. I've kept the new logic, but moved the cache_set update of the $user data so that $user->access can also be updated in memcache. With this patch applied, user.access is only updated once every 6 minutes as desired.

Patch sponsored by ParentsClick / Lifetime Digital.

CommentFileSizeAuthor
memcache-session.inc_.patch1.06 KBjeremy

Comments

jvandyk’s picture

Status: Needs review » Fixed

Good one. Committed to 6.x branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.