AJAX calls from multiple browser tabs at the same time:

Posted by Bindi on Stack Overflow See other posts from Stack Overflow or by Bindi
Published on 2009-04-21T02:49:02Z Indexed on 2010/03/12 23:07 UTC
Read the original article Hit count: 265

Filed under:
|

When an user tries to send AJAX requests simultaneously from multiple browser tabs, the earlier requests get completed and the page loads but the other AJAX calls are preempted. AS a result of which the response is empty for the other calls. Only one call survives. In my application using struts 2.0, JSP and javascript and the prototype framework, i found that the server response is empty in the cases mentioned above though the data gets updated in teh database with the request parameters. The onSucess event handler for Ajax.request gets called but the the response is empty.

Can you please help?

Thanks

© Stack Overflow or respective owner

Related posts about prototype

Related posts about AJAX