0

I have one web server where we have a staging instance and a live instance running at the same time. Up until recently, we have been able to stay logged into both at the same time. We have only made a few minor changes recently:

We changed the maximum cookie lifetime from one hour to one day - I undid this and the problem still exists.

We changed the php memory limit to import some products as the import would fail due to out of memory error, but that was changed back after the import was done.

we added a third instance for development, but I don't see how that could be causing problems (could it?)

The problem is, now, when logged into the admin panel in live or staging or dev, logging into the admin on one of the other instances causes us to have to re-login to the one we were previously logged into. What would cause this behavior to suddenly happen after we had no problems for years?

0

Please check the value of your cookie domain setting in Magento backend. If you have set a cookie domain and forgot to change it on test environment to the test domain, then it can cause this behaviour.

  • I have never had to change that before, and when I did change it, I couldn't log into the staging environment at all – David Wilkins Dec 22 '16 at 13:30
0

It turns out having nothing in the cookie domain is what allows us to log in to both at the same time. Our e-com manager added the root domain when he changed the lifetime, and that is what broke the functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.