0

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.

9
  • System -> Configuration General > Web Session Cookie management Cookie Lifetime: Change this value (i.e.: 86400).magento.stackexchange.com/questions/20987/…
    – Nickool
    Oct 19, 2015 at 20:55
  • I have already set that but still admin is logging-out automatically after sometime, It is majorly happening when some guest user is trying to add to cart and actually after adding, cart shows empty..and there in admin end, it logs out Oct 20, 2015 at 6:28
  • @Negin Nickparsa: I already set that in backend but then also admin is getting logged out automatically after sometime..It is majorly happening when any guest user is adding to cart and in real product is not getting added to cart for them because cart shows empty..and there at the same time in admin end, it logs out.. Oct 20, 2015 at 6:30
  • What is your session handler in your local.xml?
    – B00MER
    Oct 20, 2015 at 6:46
  • @BOOMER: it is memcache <session_save><![CDATA[memcache]]></session_save> Oct 20, 2015 at 6:49

1 Answer 1

0

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.

1
  • I'm happy you found it! and thank you that you posted
    – Nickool
    Oct 23, 2015 at 16:42

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