Home General questions Changing the authentication timeout
Changing the authentication timeout
By default the CS-Cart timeout is 2 hours, so after you will be automatically logged out.
To change it:
- Open the sessions.php file located in the core directory of your CS-Cart installation.
- Find and replace the following part of code there:
define('SESSION_ALIVE_TIME', 7200);with this one:
define('SESSION_ALIVE_TIME', TIMEOUT_IN_SECONDS);
where TIMEOUT_IN_SECONDS is the timeout you want. - Save the file.
