How to change time limit in phpmyadmin (logging in)

phpmyadmin

Solution

Looking for this:

ini_set('session.gc_maxlifetime', '3600');

As per the comments - You can find it in php.ini file or run the above statement in your script where you are setting session

Problem

I use phpmyadmin to create mysql database. And I have set the auth type to cookie in the config.inc.php. How do I change the time limit so that even if I logged in I stayed idle for hours it won't require me to log in again.

Original source