Closed (won't fix)
Project:
Memcache API and Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2009 at 18:12 UTC
Updated:
17 Jan 2017 at 09:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Scott Reynolds commentedeven further...
Will always evaluate to true (!empty($value) || empty($value))
I believe that was suppose to be
But i think im still messing it up. Maybe its not a bug, worth a second look
At the bare minimum this is equivalent
Comment #2
Mark Theunissen commentedBoth issues mentioned here are still present, a year later.
Comment #3
markpavlitski commentedThis check proceeds on any of the following conditions:
Because of the way the session_data_present_at_load value is set, check 4 will never actually succeed.
We can either remove this check, or make sure $user->session_data_present_at_load is not overwritten. Note that we cannot calculate it in _memcache_session_user_load() as the session object is created and passed in by _drupal_session_write().
I suggest the latter option, since it may provide a small performance improvement for anonymous users.
Patch attached.
Comment #4
jeremy commentedClosing this out; the memcache module doesn't support sessions.