Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: disabling login every 1800 seconds on phpmyadmin

  1. #11
    Join Date
    Aug 2006
    Beans
    112

    [solved] Re: disabling login every 1800 seconds on phpmyadmin

    From /usr/share/doc/phpmyamdin/Documentation.txt:

    $cfg['LoginCookieValidity'] integer [number of seconds]
    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.

    Solution:

    Edit /etc/phpmyadmin/config.inc.php and add something like
    Code:
    ini_set('session.gc_maxlifetime', 72000); // put after <?php
    
    // snip . . 
    
    $cfg['Servers'][$i]['LoginCookieValidity'] = 72000; // 20 hours
    $cfg['LoginCookieValidity'] = 72000; //not sure if this is also needed
    Last edited by kkruecke; December 6th, 2010 at 09:28 PM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •