I've got a truly bizarre situation. I have a site that when I log out as admin, at first the logout seems successful, because the log in block is displayed. But as soon as I refresh, or try to visit another page, it shows me as still logged in, even if I reload.

If I revisit the page where I logged out, it still shows me as logged out, but every other page still shows me as logged in. (???)

I'm using the front_page and the tac_lite modules, and I suspect there's some strange interaction there, but I'm clueless as to what's really happening.

A search of Drupal.org shows that many other people suffer from login/logout problems, each one slightly different from the next.

Can someone explain the Drupal login/logout process? Can anyone shed light on this bizarre problem? Any help would be greatly appreciated!!

Comments

prokopton’s picture

I have the same problem, happened after I upgraded to 5.10.

I'm using front_page. When I logout, the first screen shows my admin login page but when I click on a feature it shows "Access denied."

I don't think it's 5.10 though because it happened about a day after the upgrade so I must have made changes that affected it.

prokopton’s picture

I disabled caching (administer--> caching mode --> normal , 1 day). I disabled caching and the admin menu is gone when I logout as admin. Weird that this didn't happen before.

Allthegearnoidea’s picture

Sorted out the problem for me on Firefox and Chrome too.

This had only just started happening for me even though I had caching on "normal" for the life of the site.

Incidentally took me a while to find caching as it's under Administer --> Performance --> Caching Mode

Thanks for posting the solution, though I'm not sure this is particularly satisfactory solution because what if you have a high load site?

Support for families with children with medical conditions: http://www.parentsown.co.uk
Buy allergen free foods from http://www.freefromforkids.co.uk

angelopc’s picture

I'm experiencing the same thing. I "logout" and receive an "access denied" message. Then I go to any other page and I'm still logged-in. It seems like it isn't happening in IE7, only Firefox.

Thank you,
Ed Coyne
http://www.angelopc.com

angelopc’s picture

My bad. Didn't see the previous post.

Thank you,
Ed Coyne
http://www.angelopc.com