In recent projects, to solve the timeout Problem in Big Data Query, You need to split big data into small data and then perform cyclic processing. I have insufficient experience and limited technology. I can only use ajax to transmit data.
The use of loops aims to properly process the data before it is sent, and solve the timeout phenomenon when the script language processes the data in another way. I am not very familiar with ajax. If you are not right or in place, please advise.
Tip: Click to view the image in the text
The post method in ajax has three parameters. The first two parameters are required, and the third parameter is required. If the encoding is utf8, you don't need to use it. Because ajax uses UTF-8 encoding by default, if you use gbk encoding, transcoding is required before data transmission.
However, the server processing language also requires corresponding transcoding cooperation, such