hello,

For some reason, Drupal keeps logging me out when I click some links on my site.

I have checked the permissions, and I have permission to view them all. But when I click them, then my admin menu goes away, and it appears that I have been logged out, and it says I'm not authorized to view the page.

But when I click "home" or another link, the admin menu comes back, and it appears as though I'm logged in again!

I just can't figure this out! can anyone help?

Comments

tvst’s picture

did you try deactivating the cache module?

also, i remember there was some problem like that with the buddylist module (i think, may be another one) back on 4.4.0. so you could try deactivating all unecessary modules one by one until you figure out if one of them is causing it.

anthonylv’s picture

I just encountered this problem with a client who was still using Drupal 4.7.2 but whose host had upgraded to PHP5.2. Applying a patch to includes/session.inc did the trick. For more info, see: session doesn't keep userid with php5.2.0