Problem with multiple AJAX requests at once?

Get help using Construct 2

Post » Tue Dec 06, 2011 8:16 am

That's the question. Is there any problem with running more than one at once, or should you nest them so that one is called as the previous one is completed?
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Tue Dec 06, 2011 1:39 pm

It should work just fine. That's what the request tags are for - so you can tell apart different requests. However, the responses could arrive in a completely different order to the way you made the requests, so don't code anything expecting A to come back first, then B, then C etc.
Scirra Founder
B
381
S
222
G
84
Posts: 23,978
Reputation: 189,176


Return to How do I....?

Who is online

Users browsing this forum: ma9ic, randomly, SnipG, totoe, Voytek and 11 guests