Hi,
I am trying to create and send a HTTP Request from a .js file to my server. But when I do this using the GET method and send the necessary parameters along in the URL, i have a problem. That at times the URL length goes beyond 255 characters and the request is rejected.
Then I tried the same using the HTTP POST method and using the XmlHttpRequest. send() method. The problem here is that, this method is too slow and the browser hangs if i do this in synchronous mode (xmlhttprequest .open('POST', "../MainView", false)). But this behavior is not acceptable.
So can some one suggest me an alternative to send the HTTP request, in such a manner that I can also accommodate all my parameters and it is faster than XmlHttpRequest
TIA
Harmik
I am trying to create and send a HTTP Request from a .js file to my server. But when I do this using the GET method and send the necessary parameters along in the URL, i have a problem. That at times the URL length goes beyond 255 characters and the request is rejected.
Then I tried the same using the HTTP POST method and using the XmlHttpRequest. send() method. The problem here is that, this method is too slow and the browser hangs if i do this in synchronous mode (xmlhttprequest .open('POST', "../MainView", false)). But this behavior is not acceptable.
So can some one suggest me an alternative to send the HTTP request, in such a manner that I can also accommodate all my parameters and it is faster than XmlHttpRequest
TIA
Harmik
Comment