I'm just starting out learning drupal and in doing so, I have an admin account and one user account for testing. The purpose of the user account is so I can learn how it works for a regular user v.s. how it works for the admin. I do this for all scripts i install while learning it, but drupal seems to be the only one I have problems with when I have an admin account and test user account on the same computer.

In another forum I posted, I was getting an access denied at times when I try to log in as admin to drupal. No one seem to have a solution. I'm not 100% sure, but I think I know the problem and hoping someone can help.

If I log OUT as the admin and log in using my test user account then log out the test user account, I get the message access denied when I try to login again as admin. If I clear my browser cookies, I can log in again as the admin.

The problem is, clearing cookies is not desirable since it wipes out other cookie information for other sites I visit. Is there a way to clear cookies just for Drupal settings only? Any feedback or even other suggestions would be appreciated.

Thanks

Comments

nevets’s picture

You can not be logged onto the same Drupal site as two different users using the same browser. You can do this using more than one browser (ie Firefox and something else).

steveeyes’s picture

Thanks for clearing that up.

steveeyes’s picture

I was just reading drupal documentation and it was recommend to create a test user to be sure to test Access Control. It did not mention anything about browsers or anything. It just emphasized the importance of tsting access control "Make sure that you create at least one "test" user for each role that you've defined and click through the site as those users as you complete sections of it" Confusing. How can I test my site if I can't have more than one user on a computer?

WorldFallz’s picture

You can access as many user accounts as you like from one computer-- you can't be logged in simultaneously with 2 different users using the same browser. Either logout one and login another or login in one with IE or Safari and the other with Firefox.

ari-meetai’s picture

Technically, no. Practically, now browsers have the "incognito" window/tab that allows you to use the same browser but like if you were using a clean session. You can do that in Firefox now using Profiles. Check their doc.

raindrop’s picture

I find a program called "Last Pass" very helpful but it does not fix the "not authorized to view this page" issue, which I think is attributable to cookies.

Any ideas here?