I'm facing a problem with login.

The customer needs to login every 15 minutes.

I changed the Default Cookie Settings

Cookie Lifetime to 10368000

And I changed the Persistent Shopping Cart ---> Persistence Lifetime (seconds) to 31536000

And still, keeps logout every 15 minutes.

Magento version 2.4.2

enter image description here

enter image description here

1 Answer 1


You should go to:

Stores > configurations > Customer > Customer Configuration > Online Customer Options, and set the online minutes interval as per your wish.

enter image description here

Don't forget to set the store view.

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.