Site icon PrestaShop | Magento | CRM Modules

PrestaShop admin login time increase

To increase the admin login session timeout in PrestaShop, you can modify the cookie lifetime settings.

Method 1: Change Session Lifetime in PHP

Edit your server’s php.ini file:

session.gc_maxlifetime = 86400

Method 2: Modify PrestaShop Cookie Lifetime

In newer PrestaShop versions (1.7/8), edit:

config/packages/framework.yaml

Look for:

framework:
    session:
        cookie_lifetime: 0

Change it to:

framework:
    session:
        cookie_lifetime: 86400

Then clear the cache:

php bin/console cache:clear --env=prod

or delete:

var/cache/prod/*
var/cache/dev/*

Method 3: Check Browser Cookie Settings

If you are logged out frequently:

Common Causes of Admin Logout

 

Exit mobile version