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 have found the solution and using it successfully for sometime now.
Just install this Addon to your FF browser.
There seems to be UI for changing phpmyadmin configurations Start apache and click the following link
http://localhost/phpmyadmin/setup/index.php?page=form&formset=Features#tab_Security
Go to PHPMyAdmin in your browser
Settings > Features > Change the value of Login cookie validity > Save
NOTE: You will have to do this per session.
For Ubuntu 18.04 I just edited the file /usr/share/phpmyadmin/libraries/config.default.php
Change:
$cfg['LoginCookieValidity'] = 1440
You will then get another warning: “Your PHP parameter session.gc_maxlifetime is lower that cookie validity configured in phpMyAdmin, because of this, your login will expire sooner than configured in phpMyAdmin.“. That makes sense because php’s session will time out first anyways. So we will need to change /etc/php.ini .
session.gc_maxlifetime = 43200
That’s 12 hours in seconds.
Restart your apache server and you are done!
source: http://birdchan.com/home/2011/06/06/phpmyadmin-timeout-after-1440-seconds/
this works for me! :)
You just Increase the phpMyAdmin Session Timeout, open config.inc.php in the root phpMyAdmin directory and add this line.
from the wamp folder path wamp\apps\phpmyadmin4.0.4\config.inc.php
$cfg['LoginCookieValidity'] = <your_timeout>;
Example
$cfg['LoginCookieValidity'] = '1440';
Note: short cookie lifetime is all well and good for the development server not for your production server.