Flattr this!

I was annoyed when I couldn’t login to Magento admin panel, the problem was pretty lame – it was the session saving problem.

So all I had to do is replace http:/localhost/<path> with<path>
That’s a temporary solution

Permanent Solution :

  • Go to app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file within your magento directory
  •  Find : $cookieParams = array(
  • remove the , (comma) after $cookie->getPath()
  • //comment out the following

// ‘domain’ => $cookie->getConfigDomain(),
//’secure’ => $cookie->isSecure(),
//’httponly’ => $cookie->getHttponly()


Simple na 🙂 But non-sense .. Hope it helps you too!