reset password
Author Message
hhuang30
Posts: 40
Posted 16:48 May 30, 2014 |

Hi, Is that Ok for a client sends two request at the same time?

For example, a client sends the first request in order to get DeferredResult and be held there, at the same time he sends another request set parameter to the server.

cysun
Posts: 2935
Posted 17:09 May 30, 2014 |

It's certainly possible for a client to send multiple requests. An async request does not block the browser window so it's possible to send more requests before the first response comes back. It's up to you to take advantage of this or prevent it from happening.