如何在phpmyadmin中更改时间限制(登录) [英] How to change time limit in phpmyadmin (logging in)
本文介绍了如何在phpmyadmin中更改时间限制(登录)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用phpmyadmin创建mysql数据库.而且我在config.inc.php中将auth类型设置为cookie. 如何更改时间限制,以使即使登录也可以保持空闲状态数小时,而无需再次登录.
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.
推荐答案
寻找此内容
ini_set('session.gc_maxlifetime', '3600');
根据评论-您可以在php.ini文件中找到它,或在设置会话的脚本中运行以上语句
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
这篇关于如何在phpmyadmin中更改时间限制(登录)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文