Set page timeout Solution

Source: Internet
Author: User
Set the page timeout time. Sometimes my page keeps turning because of a network card. Can I set a timeout time for the page, after a long time, the system prompts timeout. For example, set_time_limit (300) in php. I don't think there is a timeout mechanism on the php page. ------ solution: -------------------- isn't set_time_limit () in php?

Set the page timeout time. Sometimes my page keeps turning because of a network card. Can I set a timeout time for the page, after a long time, the system prompts timeout. For example, set_time_limit (300) in php. I don't think there is a timeout mechanism on the php page. ------ solution: -------------------- isn't set_time_limit () in php?

Set page timeout
Sometimes my page keeps turning because of the network card. I wonder if I can set a timeout time for the page. If I don't respond, I will prompt the timeout time.

For example, set_time_limit (300) in php)

I don't think php pages have a timeout mechanism.
------ Solution ----------------------
Php is not set_time_limit () & nbs [this article from the Internet (http://www.68idc.cn)] p;, you can also set max_execution_time in php. ini to change the global timeout.
------ Solution ----------------------
Max_execution_time
------ Solution ----------------------
Set_time_limit (300)

5 minutes later. Unless you execute a large number of programs.
------ Solution ----------------------
Ini_set ('max _ execution_time ', '0'). The value 0 indicates no execution time limit.
We recommend that you do not set it to more than 30 seconds.

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.