Is there a setting in Magento CE that will cause it to forget a user is logged into the admin if the browser is closed (and force them to re-enter their username & password)?

e.g. for use at a shared computer and not having to rely on the user remembering to log out.


I guess it can be done via setting cookie lifetime set to 0 from magento admin.

System -> Configuration -> Web Tab ->Session Cookie management->Cookie Lifetime


You can clear sessions manually in var/sessions and it should log out the logged users. If you are using someone else than files to handle sessions you might want to manually remove those too.

  • Thanks but what I really need is for it to automatically log out a user when they close the browser.
    – colmde
    Jul 16 '14 at 8:16

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.