[how to] Change the default for admin login session time

Solutions for other phpList version 2 users
Forum rules
Please do not ask questions here, this is for Solutions you have discovered or come across.

[how to] Change the default for admin login session time

Postby tripper54 » 1:42am, Thu 08 Mar, 2007

Hey ho,

Is there any way to lengthen the time it takes to automatically log admins out? My list managers are complaining.

Cheers,

Phil
tripper54
PL Nut
 
Posts: 32
Joined: 4:14am, Wed 29 Nov, 2006
Location: East Coast of Australia

Postby H2B2 » 2:58am, Thu 08 Mar, 2007

To extend login time to 4 hours for instance, you could try adding this line in your config.php file:

ini_set('session.gc_maxlifetime',14400);

Ref:
http://www.php.net/manual/en/ref.sessio ... axlifetime
http://forums.phplist.com/viewtopic.php?p=22076#22076
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006

Postby tripper54 » 4:05am, Thu 08 Mar, 2007

Awesome, thanks.
tripper54
PL Nut
 
Posts: 32
Joined: 4:14am, Wed 29 Nov, 2006
Location: East Coast of Australia


Return to Answers, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron