Resolve how to modify the default login timeout in PHP myadmin _php tutorial

Source: Internet
Author: User
Tags myadmin
Log in after 1440 seconds of inactivity always automatically quit, a day to log on several times, and finally have time to solve the problem, the feeling is the session timeout, the results of search on the Web, find a solution, hahaha, do a note here:
phpMyAdmin often "login timeout (1440 seconds inactive) in the process of use, please login again", very annoying
here's how to fix it:
Modify PHP.ini to find
Session.gc_maxlifetime = 1440
Change the value to the right, then make it effective
Experiment, the result is not so.
Final Solution:
Locate phpmyadmin/libraries/config.default.php file, open, modify
$cfg [' logincookievalidity '] = 1440;
Modify the 1440 to a larger value.

Note:The value of $cfg [' logincookievalidity '] cannot be greater than the value of session.gc_maxlifetime in php.ini, otherwise "your PHP configuration parameter Session.gc_" will appear in phpMyAdmin. Maxlifetime (outside the chain, English) is shorter than the period of the Cookies you set in PhpMyAdmin, so your login session will be valid longer than the time you set up in PhpMyAdmin. Error

http://www.bkjia.com/PHPjc/372058.html www.bkjia.com true http://www.bkjia.com/PHPjc/372058.html techarticle login After 1440 seconds of inactivity is always automatically quit, a day to log on several times, finally have time to solve the problem, the feeling is the session timeout, the results of search on the Web, find solutions ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.