Reading Time: < 1 minute
Login and re-login and re-re-login in phpmyadmin is a huge pain.
Here is the way to extend sessions duration.
Open the file config.inc.php in /usr/share/phpmyadmin or in /etc/phpmyadmin
Add the following line:
$cfg['LoginCookieValidity']=86400;
And in php.ini, modify the following line:
session.gc_maxlifetime = 86400
Restart apache.
apache2ctl restart
You now have 24h sessions.