Hi there,

I am having an issue with trying to log out of my Drupal site. There seems to be a pattern that I am observing. When I log in and upload a file and then log out, it appears that I have successfully logged out.

BUT when I then proceed to attempt to view the website as an anonymous user, things look ok until I click on the file I just uploaded, at which my user status is changed so that I am logged in again with the edit, track, etc tabs showing. I can look at other pages without seeming logged in.

THEN when I try to log out again, I get the "access denied" message. There seems to be no way to look at the uploaded files list without being logged in while still working on the same computer, no matter how times I leave the internet and come back. But, if I go to another computer, at first I can look at the site as a visitor without seeming logged in. If I then log in the same thing happens all over again.

I've checked my access rules/controls and it's set so that any user would be able to access uploaded files. But this issue only occurs once I try logging in and out of the site. Any suggestions why this is happening? Please help.

Comments

cog.rusty’s picture

This sounds bizarre.

With which module are you uploading the files?
Does editing and saving work when you seem logged in?

Do you find multiple cookies for your site in your browser?
What happens if you clear your browser's cache?

What happens if you disable cache completely in admin/settings/performance?
Or if you clear the cache in admin/settings/performance?

theorichel’s picture

Only I do not think it has something to do with uploading files, better said I do not know when precisely it happens, but it happens often. I log out, but when I open a node the tabs for editing etc are visible. When I click one of them I get access denied. When I am working some time with Drupal it.
I also have the impression that it is a Firefox problem (V 2 and 3 ). 'Clearing private data' (Cache) solves it after F5.

lauggh’s picture

i'm using the core Drupal module to upload files and am in the midst of researching a file manager (that's a difft topic altogether).There aren't multiple cookies for my site. I'm able to access everything once I've cleared my cache and logged back in.

Right now I've disabled cache entirely. I don't know what the effects are, I'll keep you posted.

Thanks!

izmeez’s picture

I'm not sure, but your problem sounds a lot like what we experienced at first. Take a look at this post

http://drupal.org/node/250778

Izzy

davidlark’s picture

Seems like I was able to get privileged access after logging out by using the back button on my browser. I didn't take the time to investigate further.

glassbyd’s picture

Hi

One of my clients has just started having the same problem. That is they logged out and then tried to log in but could not get to the log in screen and then could not get access as access is denied. (I know that ?q=user gets them out of the problem) After a bit of testing I suspect that your thoughts that it was Firefox related seem to be correct i.e. I can reproduce the problem on my machine and can clear it by clearing cache in Firefox.

Can any one say whether this is really a Firefox cacheing feature (as in every bug is ...) or is it something that comes from Drupal and Firefox not quite syncing correctly?