I know this questions asked many times but solutions were used for some people not all. I am running Magento 18.104.22.168 community version. We are facing an issue like whenever the customer tries to log in, it's redirecting to the same page. This same issue happening for admin login also. If I do it in incognito mode in the browser then some time works but not all the time.
I have tried with following settings,
- Our main domain is, for example, is
mydomain.comand we are running different subdomain like
bcd.mydomain.cometc. I did below settings for my all domains with respective domain names but it not helped.
Setting cookie domain and path in admin backend at
System > Configuration > Web > Cookie and Session Management
Cookie Life Time: 3600 Cookie Path: / Cookie Domain : abc.mydomain.com Use HTTP Only : YES Cookie Restriction Mode: No
My session storage option is file system
- Clearing browser cookies all the time to just login is not working out.
when I see the view page source for my webpage I got following code which is set by Magento default
Mage.Cookies.path = '/'; Mage.Cookies.domain = '.abc.mydomain.com';
why magento setting domain name is ".abc.homestudio.com" because we have set in backend domain name as "abc.mydomain.com"?
I'd very much appreciate some feedback.