posted 18 years ago
hello,
I have a default.aspx page in which I use javascript with Ajax to go and retreive some data from another server side page (callback.aspx). but when I do a loop in this server side page (callback.aspx), my initial page (default.aspx) gets stuck and I can't do anythin anymore on the page until the server side page finishes it's code....
I use a loop to check wether there is new data in a database....
I can solve this by doing a loop on the client side instead of the server side.... but this polling causes me, to use, up to 0.6 kb per second of bandwith.... after a while this is a lot! (I do a setrequestheader and a getresponsetext every second).
So my problem could be solved by either making it so that my initial page does not get stuck while a some code is running server side. OR making it so that the polling of my page does not require so much bandwith....
Can anyone help?
thank you,
Erdem