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)

3 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

Your suggestion seems better but doesn’t work at all. Thank you anyway, because it (theoretically) would be the right way of configuring it …

Thanks to danwaterloo for providing a solution. For anyone searching for it: This one works.

Yes, the answer by Dan works well. Will use it for some time then post here later if it is a durable solution. Thanks Dan!

Hi Dan! Will try out your suggestion above and see how it works. Will keep you posted if it works on the long term.

Regards
Tom