If this happens and there's no clear solution for this, it could be caused by cookies left around in Firefox.

If you use the Firefox Webdeveloper Toolbar, go to Cookies > Delete domain cookies. This solved the issue in my case.

Comments

peterMankato’s picture

I was looking for more complicated solutions, until I looked closer at my settings.php file and noticed I had left an "s" off the end of the domain name. Double-check your code and make certain you have spelled the domain correctly. I know it won't happen to you, but it did to me. ;-)

gtsopour’s picture

Hello

I managed to solved this issue with the following code inside settings.php file:

 /*$cookie_domain = '.example.com';*/

$base_domain = explode('.', $_SERVER['SERVER_NAME']);
unset($base_domain[0]);
$base_domain = '.' . implode($base_domain, '.');
$cookie_domain = $base_domain;