In my local development Ubuntu box I use MySQL and phpmyadmin to work with the database.
Whenever phpmyadmin is idle for 1440 secs (24min) the session expires. I lose m
I know this is an old post but I tried every solution I read, including those on this page to no avail, and then I got lucky so I'm posting it here.
I'm running Ubuntu 17.10.
I archived /etc/phpmyadmin/config.inc.php and replaced its content with the content of /usr/share/phpmyadmin/config.sample.inc.php.
I then
1) Enabled (uncommented) all the options under "Storage database and tables";
2) Included "ini_set('session.gc_maxlifetime', 86400);" underneath the uncommented items; and
3) Provided a 32 character sequence for the $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */, which is above the uncommented items.
I saved the file and restarted phpMyAdmin.
I selected Server: localhost -> Settings -> Features and changed the value of "Login cookie validity" to 86400 (24 hours). Note any non default value you specify will cause the background color of this option to become yellow so don't be alarmed by it. The value should be less than or equal to the value you used in config.inc.php.
I saved the settings, exited, and restarted phpMyAdmin.
Finally, all of the messages disappeared. My session stays active as per the settings (all day in this case), and my settings are remembered.
I surely hope this helps someone. It was frustrating for me to deal with and resolve.