I know this questions asked many times but solutions were used for some people not all. I am running Magento 1.9.2.4 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.com
and we are running different subdomain likeabc.mydomain.com
bcd.mydomain.com
etc. 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.