[contact-form-7 id=”4740″ title=”Call me”]
For some, this fix helps when they cannot login Magento after a new install (when installed locally) but for others it can happen while the store is running for an unknown reason.
First, try increasing the cookie lifetime.
System menu > Configuration > Web button in the General section on the left > Session Cookie Management panel on the right.
When you expand the panel you’ll see an option Cookie Lifetime.
Cookie Lifetime: 86400
Cookie Path:
Cooke Domain:
Use HTTP Only: Yes
Cookie Restriction Mode: No
Can be found in line 87 to 108 in app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
// session cookie params /* $cookieParams = array( 'lifetime' => $cookie->getLifetime(), 'path' => $cookie->getPath(), 'domain' => $cookie->getConfigDomain(), 'secure' => $cookie->isSecure(), 'httponly' => $cookie->getHttponly() ); if (!$cookieParams['httponly']) { unset($cookieParams['httponly']); if (!$cookieParams['secure']) { unset($cookieParams['secure']); if (!$cookieParams['domain']) { unset($cookieParams['domain']); } } } */
You should not have that error in IE or Firefox anymore =)