Users "Stay Logged In" in Magento 2.1, they should never be automatically Logged Out. Manual Log Out only.

  • It's default installation? if yes, can you share your 'session.gc_maxlifetime' from ini?
    – Sohel Rana
    Commented Jan 23, 2017 at 5:47
  • Yes Sohal, its a default installation and session.gc_maxlifetime = 1440 Commented Jan 23, 2017 at 5:53

1 Answer 1


Magento 2 not have auto logout setting for fronend


We have Cookie Lifetime for frontend setting.

System -> Configuration -> General -> Web -> Default Cookie Settings -> Cookie Lifetime

increase these if that was low.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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