如何更改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屋!
查看全文