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

Uwe Hermann’s picture

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

manuelcillero’s picture

I've resolved the problem replacing sid = '%d' in sess_destroy() function (module "includes/session.inc") with sid = '%s'.

I think there is an error in the module update.

---

PRESTIGIA web freelance

Uwe Hermann’s picture

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

sas789’s picture

Worked like a charm. I appreciate your assistance.