如何设置我的phpmyadmin用户会话不那么快超时? [英] How to set my phpmyadmin user session to not time out so quickly?

查看:62
本文介绍了如何设置我的phpmyadmin用户会话不那么快超时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我每天都在为本地主机后端开发工作.

I work on my wamp for localhost backend development everyday.

我因phpmyadmin自动注销而感到烦恼.有什么办法可以摆脱这种情况或延长超时时间?

I feel annoyed by phpmyadmin auto log out out quickly. Is there any way I could get rid of this or extend the timeout?

在哪里可以设置此超时值?

Where can I set this timeout value?

推荐答案

要增加phpMyAdmin 会话超时,请在根phpMyAdmin根目录中打开config.inc.php并添加此设置(任何位置).

To increase the phpMyAdmin Session Timeout, open config.inc.php in the root phpMyAdmin directory and add this setting (anywhere).

$cfg['LoginCookieValidity'] = <your_new_timeout>;

<your_new_timeout>大于1800的某个数字.

Where <your_new_timeout> is some number larger than 1800.

注意:

请始终牢记,对于开发服务器而言,较短的cookie生存期是一件好事.因此,请不要在生产服务器上执行此操作.

Always keep on mind that a short cookie lifetime is all well and good for the development server. So do not do this on your production server.

这篇关于如何设置我的phpmyadmin用户会话不那么快超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆