By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,658 Members | 1,924 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,658 IT Pros & Developers. It's quick & easy.

How to track an incomplete Ajax request ?

100+
P: 296
Hi,

Sometimes what happens is that if there are a lot of parallel Ajax requests then a request is not completed.

How to track this and send an error message ?
Jan 7 '08 #1
Share this Question
Share on Google+
3 Replies


acoder
Expert Mod 15k+
P: 16,027
You could use a timeout and abort the request if it takes too long.
Jan 7 '08 #2

100+
P: 296
You could use a timeout and abort the request if it takes too long.

Suppose 2 Ajax requests are sent and one request gets completed then what will be the Ajax STATE ?
Jan 29 '08 #3

acoder
Expert Mod 15k+
P: 16,027
Suppose 2 Ajax requests are sent and one request gets completed then what will be the Ajax STATE ?
If it's two separate requests, one will obviously be 4 and the other one may be 2 or 3.
Jan 29 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.