Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ravi Gopalani on Apr 06, 2009 00:01
open dhtmlx forum
DataGrid

Hi!
When waiting state for response is more than 6 minutes I am getting Incorrect Xml error.Is it because in dhtmlxGrid.js ,there is some concept called window.clearTimeOut and window.setTimeOut .If so for some xml response I have to wait atmost 10 minutes to get response from service to run SQL query.I think after 5-6 minutes Ajax call gets terminated.
Thanks;
Ravi
Answer posted by Support on Apr 06, 2009 02:28
>>there is some concept called window.clearTimeOut and window.setTimeOut 
Normally dhtlmxgrid doesn't use such concept ( it used only in distributed parsing mode ) 

>>I have to wait atmost 10 minutes to get response from service to run SQL query
Big loading time can be caused by slow connection or by performance of server side code. 

>>I think after 5-6 minutes Ajax call gets terminated.
It not specific to AJAX calls. Browser will drop any connection which not responds in 5 minutes ( probably the waiting time can be configured somewhere in browser, but it can't be done from javascript )