The URL (URL) you requested is not available, but the server repeatedly receives two commits

Source: Internet
Author: User
The URL (URL) you requested could not be obtained, but the server repeatedly received two commits

After the form submits the data, execute the PHP code (constantly insert records into the database, such as 1000 records).
But sometimes it turns out that the data record is 2000, half the number.
Then I wrote the log at the end of the execution, found that there are often two logs, separated by about 100 seconds.
Which means it's been requested two times? But the front-end was really only requested once during the test.

Page execution does not appear the Success page directly prompts the following error page:

Share to:


------Solution--------------------
Code repeated execution, it should be the code details of the problem, post the relevant code, to see
------Solution--------------------
Citation:
No one knows?

The main thing is not very clear about your problem.
Just tried again, but after the following hint appears
Refers to "link is reset"?
If you have a browser, you can F12 see if there is a problem with the network request.
------Solution--------------------
1, may be related to your server configuration. Because you have hidden the URL, you cannot determine whether this is the reason (if it is not a professional configuration, the probability is at least 80%)
2, may be related to your browser, if it is IE8 and below. The post form is approximately 50% more likely to be processed repeatedly
3, may be related to your program, thousands of data processing is very time-consuming, the program may time out.
4, may be related to the data itself, if you do not check the legality of the data, then the wrong data will inevitably lead to system crashes
  • 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.