How to change time limit in phpmyadmin (logging in)

后端 未结 6 1353
走了就别回头了
走了就别回头了 2021-01-04 03:11

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

6条回答
  •  死守一世寂寞
    2021-01-04 03:40

    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

提交回复
热议问题