Magento admin login not working in chrome but works fine for firefox magento 1.9


I think there is the problem with session cookie with the chrome browser. So just go through this directory /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file and comment out the line from 85 to 92 in magento (1.9.2 for my case). Like this



    // session cookie params
   /* $cookieParams = array(
        'lifetime' => $cookie->getLifetime(),
        'path'     => $cookie->getPath(),
        'domain'   => $cookie->getConfigDomain(),
        'secure'   => $cookie->isSecure(),
        'httponly' => $cookie->getHttponly()

after that try to make login from your backend. Hopefully you can make login with chrome. This will definitely help you. If you are still facing the problem then just reply me.


Alternative Method:
From System -> Configuration -> General -> Web, set Unsecure and Secure Base URL with IP Address. And try to login again.


1 CommentClose Comments

1 Comment

  • alanastone9969
    Posted March 13, 2016 at 8:23 pm 0Likes

    Very energetic article, I loved that bit. Will there be a part 2?

Leave a Reply to alanastone9969 Cancel reply

Newsletter Subscribe

Get the Latest Posts & Articles in Your Email

We Promise Not to Send Spam:)