AJAX Forums

Creating the XMLHTTPRequest

This is a discussion on Creating the XMLHTTPRequest within the AJAX Questions forums, part of the Beginners AJAX category; I have an app in which I make about 10 Ajax calls. In terms of best practices is it better to create the request instance once and use it for ...


Go Back   AJAX Forums > Beginners AJAX > AJAX Questions

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 05-21-2008, 11:34 AM   #1 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 5
Rep Power: 0 javarunner is on a distinguished road
Question Creating the XMLHTTPRequest

I have an app in which I make about 10 Ajax calls. In terms of best practices is it better to create the request instance once and use it for all my calls, or is it better to create a request for each call?
TIA...
javarunner is offline   Reply With Quote
Old 05-23-2008, 02:11 PM   #2 (permalink)
Junior Member
 
Join Date: Apr 2008
Posts: 5
Rep Power: 0 javarunner is on a distinguished road
I guess this must have been a stupid question since no one's responded. IMHO it's better to have a single instance of the request that services multiple calls, but I could be wrong.
javarunner is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
hi is there is any software for creating xml documents? Bullet F XML and XSLT 2 11-30-2007 07:17 PM
plz help me for creating css? Appu s XHTML and CSS 1 05-16-2007 12:12 AM
XMLHttpRequest - Security Bypass prabhu AJAX Articles 0 12-23-2006 06:07 AM
Fixing AJAX: XMLHttpRequest Considered Harmful Ajaxking AJAX Articles 0 12-17-2006 09:07 PM
Creating Huge Bookmarklets prabhu AJAX Articles 2 11-23-2006 08:41 AM


All times are GMT -4. The time now is 09:19 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com