AW.HTTP.Request question
Hi,
I am posting a URL using AW.HTTP.Request method to a server.
var r = new AW.HTTP.Request;
r.setRequestMethod("POST");
r.request();
r.response = function(data){
}
When this request is waiting for the response from server, if the server response is more than 50 seconds, the request (IE browser) timesout and I get "undefined" response, but when the server responds within 50 seconds, I get a valid response.
I am not sure if it has anything to set with setAsync(false) or setAsync (true). I believe the default is asysnchronous mode. Or is there any other parameter which needs to be set, which I am missing?
Can you please provide your inputs on how to handle this timeout.
Thanks
VJ
I am posting a URL using AW.HTTP.Request method to a server.
var r = new AW.HTTP.Request;
r.setRequestMethod("POST");
r.request();
r.response = function(data){
}
When this request is waiting for the response from server, if the server response is more than 50 seconds, the request (IE browser) timesout and I get "undefined" response, but when the server responds within 50 seconds, I get a valid response.
I am not sure if it has anything to set with setAsync(false) or setAsync (true). I believe the default is asysnchronous mode. Or is there any other parameter which needs to be set, which I am missing?
Can you please provide your inputs on how to handle this timeout.
Thanks
VJ
VJ
October 23,