We have a multi site/store which is on a subdomain level (Magento v184.108.40.206):
main.com store1.main.com store2.main.com
Logging in without the main.com
frontend cookie enables the login in store1.main.com. However, if main.com is visited, another
frontend cookie is created with the same value of the other store cookie.
frontend | somehashvalueofthecookie | .main.com frontend | somehashvalueofthecookie | .store1.main.com
I tried to set the value in
Cookie Domain setting in Magento
Admin > General > Session Cookie Management per store but it does not have an effect.
There's an accepted answer here Can't login to second store on subdomain but it didn't do the trick. I already removed the third-party extensions.
Any idea? Thank you.