Results 1 to 1 of 1
Jan 18, 2008, 09:25 #1
- Join Date
- Jan 2008
- 0 Post(s)
- 0 Thread(s)
setTimeout & setInterval slowdown server? becoz i am sending ajax request frequently
I working with setTimeout and setInterval almost many places in the application. Each time a ajax request will be running in the background to show the result to the user, without refreshing the page infront(refreshing in the background, it means-sending request frequently by calling a function by using setTimeout).
So, my questions are below.
1/. If am not clear the setTimeout, it will be running till it is cleared in the server. As i mean the ajax request here.
2/. So if am clearing the request by onunload method, whenever a browser is closed. it will clear all the request from the server.
3/. My major question is, whether the server will get slow down - if we using multiple function calling frequently by using setTimeout. For your info, i am using frames in the application.
I am expecting your valuable reply at earliest.
P.S: My application is wholly depends on the data.
It would by better if you send reply to my mail id: firstname.lastname@example.org - thanks
Thanks and Regards,