Admin login session timeout settings

We’re running phpList 3.2.5 but would like to edit the timeout / logout time when logged in to the system as an administrator. Presumably there’s a setting somewhere that logs you out after a defined amount of time of inactivity?

Please could someone tell me how to edit this time?

Many thanks

Phil

1 Like

You can edit this value… it might be the one you are looking for…

/lists/admin/init.php

if (!defined('SESSION_TIMEOUT')) define('SESSION_TIMEOUT',1800);

Change the 1800 to whatever you need (I believe this is in seconds)

2 Likes

This is my second time that this answer by Dan was helpful. I have now bookmarked it so I don’t have to Google it next time a have a new installation of phpList.

I think a better solution would be putting the define in the config
define(‘SESSION_TIMEOUT’,123456);
and leave the core files alone.

1 Like