Magento admin user logging-out after some time [duplicate]
-
13-12-2019 - |
Question
I am facing an issue in Magento 1.9.2.1 that is my admin user is getting logged-out automatically after few minutes.
I have checked in back-end for the settings and all seems correct.
This majorly happens, when on front-end any guest user is adding product to the cart which actually not getting added sometimes and hence at admin end, the user logs out automatically.
Solution
I notice that in my case it was a session issue instead a code issue. I have memcache enabled and after the site upgrade, it caused some configuration issue in memcache due to which session was lost whenever a request was hitting to the server. So, what I did is I enabled file caching and disabled memcache and there is no session lost anymore and thus admin is not getting logged out.