S
Simon_21
Hi All,
Browser - IE 6.0
Server - Jboss 4.2.1 (Tomcat 6.0)
We are making call to the server using ajax to get some data. In a
worst case scenario the backend thread may take as long as 1 minute to
return. But sometimes what happens is I get the callback prematurily
saying that data is available. In other words,
onreadystatechange=function() gets triggered.
I debugged from the server side to see if the servlet (processing the
original request) is calling back and I don't see that happening.
I tried to use "new ActiveXObject('Msxml2.XMLHTTP.5.0').setTimeouts()"
to increase the timeout but it seems that call is not valid for the
client object.
Is there a way I can increase the time out.
Thanks
Rajesh
Browser - IE 6.0
Server - Jboss 4.2.1 (Tomcat 6.0)
We are making call to the server using ajax to get some data. In a
worst case scenario the backend thread may take as long as 1 minute to
return. But sometimes what happens is I get the callback prematurily
saying that data is available. In other words,
onreadystatechange=function() gets triggered.
I debugged from the server side to see if the servlet (processing the
original request) is calling back and I don't see that happening.
I tried to use "new ActiveXObject('Msxml2.XMLHTTP.5.0').setTimeouts()"
to increase the timeout but it seems that call is not valid for the
client object.
Is there a way I can increase the time out.
Thanks
Rajesh