0

I am implementing a web application. I'm trying to send huge data from client side to server side by using js Ajax with POST method.

In the Ajax, I set the parameter, which is a big string containing over 30000 characters. It works fine both in IE9 and Chrome. But not work in Firefox.

Then I made a test, if I send the data length beyond about 6218 then FF wont work. I tried to add one more word in the parameter, then it did not work. It seems to be the data length issue.

But I tried o reproduce it in my local, I sent over 70000 characters, but FF WORKS! So right now, I do not what I should do and what the problem exactly is. Please help me.

Kurt Shaw
  • 609
  • 2
  • 10
  • 26
  • This does not solve your problem. But are you setting the parameter in the URL or putting it in the POST body? – Prusse Sep 12 '13 at 18:51
  • Thank you for the response. I put the param in the POST, not url. If this cannot solve the issue, what should I do? – Kurt Shaw Sep 13 '13 at 12:51
  • 1
    Setup a http://jsfiddle.net/ and reproduce the error? – Prusse Sep 13 '13 at 14:04
  • Exactly same issue as http://stackoverflow.com/questions/13148483/ajax-post-being-aborted-by-firefox-not-seen-in-chrome-or-ie But still there is no explicit solution. – Kurt Shaw Sep 17 '13 at 01:10
  • Did you get a solution? BTW, in your link there is a comment about `setTimeout` did you tried that? You are doing multiple requests "at the same time"? – Prusse Sep 23 '13 at 15:18
  • The thing is I cannot reproduce the issue in local (it happens on production level), so I cannot make the code change.... – Kurt Shaw Sep 27 '13 at 17:53

0 Answers0