Magento 1.9 admin login not working in Chrome but working in Firefox?
Asked
Active
Viewed 1,507 times
1
-
Are you working on localhost? Is your url structure is like http://localhost/magento/admin? – Mukesh May 13 '15 at 09:28
-
in this case you use 127.0.0.1/magento instead of localhost/magento in core_config_data – Sathish May 13 '15 at 10:29
-
possible duplicate of [Magento admin login not working in chrome but works fine for firefox](http://stackoverflow.com/questions/15491819/magento-admin-login-not-working-in-chrome-but-works-fine-for-firefox) – Deep Kakkar May 13 '15 at 11:30
1 Answers
4
Go to This directory /app/code/core/Mage/Core/Model/Session/Abstract/Varien.php file and comment out the line from 95 to 101 working fine.
// session cookie params
/* $cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()
);
*/
Pankaj Upadhyay
- 2,114
- 21
- 22