By sas789 on
Here is my problem, quite simply: A user clicks "log out" but is not logged out.
An error message does not appear in the log. In fact, the log says "Session closed for [user]" - but they are not logged out.
Does this have to do with PHP sessions? Or, is a certain directory not writable? I don't even know where to begin.
I recently upgraded from 4.5.4 to 4.5.5 - but the upgrade process went smoothly. The problem only began occurring after the upgrade, though.
Where should I look? Any help would be appreciated.
My stats:
Drupal 4.5.5
Debian Linux
Apache 1.3.31
PHP 4.3.10
MySQL 4.1.11
Thanks for any assistance.
Comments
Maybe an issue with some
Maybe an issue with some cache? Try disabling the Drupal cache (settings). Try to SHIFT-Reload in the browser, maybe that cached something and it only _looks_ like you didn't get logged out?
Uwe.
--
hermann-uwe.de | crazy-hacks.org | unmaintained-free-software.org
I've resolved the problem
I've resolved the problem replacing
sid = '%d'insess_destroy()function (module "includes/session.inc") withsid = '%s'.I think there is an error in the module update.
---
PRESTIGIA web freelance
OK, this seems to be
OK, this seems to be correct, as the latest CVS version does exactly that:
db_query("DELETE FROM {sessions} WHERE sid = '%s'", $key);.Uwe.
--
hermann-uwe.de | crazy-hacks.org | unmaintained-free-software.org
Thanks!
Worked like a charm. I appreciate your assistance.