Page 1 of 1

phpMyAdmin session length

PostPosted: 31. January 2005 18:16
by ascheinberg
I've been through config.inc.php with a fine toothed comb. Anyone know how to increase the session length in phpMyAdmin?

answer

PostPosted: 21. February 2005 23:00
by ascheinberg
Well, no one responded, so here's the answer, just so it's here in the forum:

Find this line in config.inc.php which is in the root of the phpmyadmin folder:

$cfg['LoginCookieValidity'] = 1800; // validity of cookie login (in seconds)

That's 30 minutes. On my internal dev server, I set it to:

$cfg['LoginCookieValidity'] = 2592000; // 30 day cookie

on my intranet -

$cfg['LoginCookieValidity'] = 28800; // 8 hour cookie