How to transmit large data using ajax in JQuery _ jquery-js tutorial

Source: Internet
Author: User
This article mainly introduces JQuery's solution to transmit large data using ajax, that is, a large amount of data that exceeds max_upload_size. This method is tested in chrome, if you need a friend, you can refer to the question below and directly ask the question. A Jquery (1.6) Ajax request is used on a page, and a post is used to transmit more than 500 display arrays. the php client can only accept about 50 entries. At first, I thought it was a problem with web server settings. I changed all the settings such as max_upload_size. But it didn't work. Later, I tried to use max_input_vars, which was a new player. At the beginning, it also played a role. Later, when the customer's data exceeds 2000, the php end still cannot completely accept the data sent by ajax. Finally, a solution was found on a foreign website.

Before post is sent, the variable to be sent is processed with JSON. stringify, And it is OK. What is JSON. stringify ??? Please move here: http://www.jb51.net/article/29893.htm

Related Article

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.