Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2008 at 11:16 UTC
Updated:
1 Jul 2008 at 11:58 UTC
I already filed this under the current post http://drupal.org/node/273350.
This affects all drupal version(s).
A cache will still return old cache objects for old users, since $user->cache is set to 0|zero
then when the current evaluation:
if ($user->cache > $cache->created)
goes on line 43 in cache.inc., it will always evaluate to false and return old cache data for logged in users,
even thus the cache object has been set an expiry date.
A solution is to set.
$user->cache = time();
After the $user = drupal_unpack($user); on line 37 of sessions.inc
Comments
Comment #1
catchMarking this as duplicate of http://drupal.org/node/273350 - we usually deal with bugs for the development and current versions in the same issue unless there's a big difference in the code between the two.