调整phpmyadmin中的session过期时间

发布: 2009-07-18 12:19

在config.inc.php的行
[code type="php]
$cfg['blowfish_secret'] = 'xxxxx'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
[/code]

后面加入下面两行,根据需要调整一下数值。

[code type="php"]
$cfg['LoginCookieValidity']=360000; // [number of seconds]
// Define how long is login cookie valid.
$cfg['LoginCookieStore'] = 3600000; // integer [number of seconds]
[/code]


原文: http://qtchina.tk/?q=node/303

Powered by zexport