CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [resolved - Multiple Ajax requests (Programming Point of View)]

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 04/28/2011, 1:09 AM

Hi,

This seems to be one of the most common problems nowdays on software development.

One of our pages should do four ajax requests to a four php scripts on the server.

The main problem is than when you do different request to the server using the same

instance of the XMLHttpRequest Object then only the last call has a response while the other

requests get stuck (this means than the ajaxloader.gif keeps running and running etc..).

So the solution is just simply and easy make different instances
from the XMLHttpRequest Object so that the requests doesn´t collapse.

I´ve heard about arrays, queues requests, that´s not necessary only applying some basic OOP concepts it resolved.

I attach some interesting related links:

http://www.9lessons.info/2011/03/multiple-ajax-requests-with-jquery.html

http://javascript.about.com/library/blajax13.htm

http://www.ozzu.com/website-design-forum/multiple-ajax-...ime-t67591.html

Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.