I have recently been trying to make the switch to Drupal from Joomla/Mambo. I am very pleased with everything so far with one exception:

When I finished my Drupal install I ran into the infamous problem of the login not working (only returning you back to blank login form). After experimenting a bit I realized that overiding default cookie handling in IE Privacy settings allowed me to login.

My question is - how am I able to login to other drupal sites (such as drupal.org) without having to change the IE Settings? I tried the following steps to illustrate this:
1) I made sure the default settings were in place and all cookies / temp internet files were deleted.
2) Tried logging into drupal.org and it works fine.
3) Tried logging in to my site and it fails.
4) Enable the "always accept cookies" override and then I am able to log into my site.

Was there something special done for the drupal.org login module that isn't in place in a new Drupal install?

One other comment - I am also not able to login to a clean Joomla install without the cookie override being set. However Joomla does pop up a message box stating that cookies must be enabled. Would be a nice feature if the Drupal module did something simlar.

Thanks.

Comments

cackalacky’s picture

Doh! An idea just occured to me right after I made my post. Not sure of the low level details but it appears the difference in the way cookies are handled is caused by a URL redirect. I use a dynamic dns service that points mydomain.com to mydomain.dyn.com. When I use the mydomain.dyn.com with no redirection, I can login without changing my IE settings. When I use the URL that is redirected, IE is blocking the cookie. Problem solved.