I am just a newbie to the magento. I have installed magento on my localhost. After all the setup when I used the admin page to login I can\'t able to login in chrome browser
For Magento 2
Instead of localhost on your WAMP please use http://127.0.0.1
{folder path}\magento2\vendor\magento\zendframework1\library\Zend\Session.php
Go to & Comment as mentioned
public static function rememberUntil($seconds = 0)
{
if (self::$_unitTestEnabled) {
self::regenerateId();
return;
}
$cookieParams = session_get_cookie_params();
session_set_cookie_params(
$seconds,
//$cookieParams['path'],
//$cookieParams['domain'],
//$cookieParams['secure']
);
// normally "rememberMe()" represents a security context change, so should use new session id
self::regenerateId();
}