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
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to How do I....?

Who is online

Users browsing this forum: Paradox and 4 guests