Tutorialsplane

Magento 2 set session timeout


Magento 2 set session timeout– We can set the session timeout in Magento from Backend Configuration settings for frontend and backend.


Magento 2 set frontend session timeout Frontend | Backend Example

You can set frontend and backend timeout from backend settings. Go to the below settings and set Session Lifetime –

Admin Session Timeout

Using this setting we can increase the admin user login time.

Go to Stores->Settings->Configuration->Advanced->Admin->Security->Admin Session Lifetime

Now add value in seconds in Admin Session Lifetime setting.

Frontend Session Timeout

We can increase the frontend user login time using this setting.

Go to Stores->Settings->Configuration->Advanced->Admin->Security->Frontend Session Lifetime

Now add value in seconds in Frontend Session Lifetime setting.