diff --git a/Documentation.html b/Documentation.html index 7e945dba2..1d5b25e55 100755 --- a/Documentation.html +++ b/Documentation.html @@ -396,7 +396,7 @@ rm -rf config # remove not needed directory In cookie mode, the password is stored, encrypted with the blowfish algorithm, in a temporary cookie. -
  • Note: starting with phpMyAdmin 2.6.1, this section is only applicable if +
  • Note: this section is only applicable if your MySQL server is running with --skip-show-database.

    For 'HTTP' and 'cookie' @@ -715,7 +715,7 @@ since this link provides funding for phpMyAdmin.
    This special account is used for 2 distinct purposes: to make possible all relational features (see $cfg['Servers'][$i]['pmadb']) - and, for a MySQL server previous to 4.1.2 or running with + and, for a MySQL server running with --skip-show-database, to enable a multi-user installation (HTTP or cookie authentication mode).

    @@ -1361,8 +1361,8 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE
    Define how long is login cookie valid. Please note that php configuration option session.gc_maxlifetime might limit session validity and if session is lost, login cookie is - also invalidated. So it is good idea to set session.gc_maxlifetime - at least as high is $cfg['LoginCookieValidity'] is set.
    + also invalidated. So it is a good idea to set session.gc_maxlifetime + not lower than the value of $cfg['LoginCookieValidity'].
    $cfg['LoginCookieStore'] integer [number of seconds]
    Define how long is login cookie should be stored in browser. Default 0 diff --git a/libraries/config.default.php b/libraries/config.default.php index 7b24d8700..cd6ef6b6c 100755 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -587,11 +587,12 @@ $cfg['Confirm'] = true; $cfg['LoginCookieRecall'] = true; /** - * validity of cookie login (in seconds; 1800 seconds is 30 minutes) + * validity of cookie login (in seconds; 1440 matches php.ini's + * session.gc_maxlifetime) * * @global integer $cfg['LoginCookieValidity'] */ -$cfg['LoginCookieValidity'] = 1800; +$cfg['LoginCookieValidity'] = 1440; /** * how long login cookie should be stored (in seconds)