AJAX Made Easy - Learn AJAX
AJAX Home Tutorials

The XMLHttpRequest Reuse Dilemma

Author: techno  Category: Tutorials Add Comment

One thing I see popping up over message boards is people want to reuse the XMLHttpRequest Object instead of creating a new instance every single time. Some developers think this will help in memory leaks. I have not tested it in any way to see if it really helps. But I thought that I would show you it is possible to reuse the same object over again and again with Internet Explorer.

Read Article
 

Sponsored Links

 


Related Articles

 Misusing XMLHttpRequest in a Website One of the best features of Ajax is the function XMLHTTPRequest. This function practically suggests the user’s ability to asynchronously receive information from the server. Although it is still possible for web developers to build an Ajax based application without using XMLHTTPRequest, this f ...

 XMLHttpRequest Properties  In developing Ajax, one of the most common codes you’ll be using is the XMLHttpRequest. Getting things done in Ajax without using this type of code is really impossible. This code represents the communication between program and the server. Even though users don’t see the literal interaction betwe ...

 Overdoing XMLHttpRequest Undoubtedly, XMLHttpRequest is the most important function in Ajax. With this function, developers could easily transfer XML files from the client to server. XMLHttpRequest can single-handedly transform your application from a simple website to an Ajax based website. Its asynchronous function makes ...

 Preventing XMLHttpRequest Harmful Effects One of Ajax’s most important code functions is the XMLHttpRequest. Without this code, it’s almost impossible for an Ajax based program to run smoothly. Although we can find alternate coding for XMLHttpRequest, this code alone could save us hours of coding when we do it the other way. XML ...

 Reusing XMLHttpRequest Object in IE I came across an article posted by Eric (Coauthor of Ajax In Action) which talks about reusing XMLHttpRequest object. I read many blogs and message boards where similar kind of problem was faced by many users. But frankly speaking I never faced this problem before, except in the example given by Eri ...

 Tips & Tricks: AJAX – Not Just Limited to XMLHttpRequest This tutorial starts with an Introduction followed by a short discussion on AJAX merits and demerits. The following section is about Implementation, where most of issues concerned have been handled. It's followed by a complete running example code, which can be simply taken and run on local ser ...

 Dynamic HTML and XML : The XMLHttpRequest object As deployment of XML data and web services becomes more widespread, you may occasionally find it convenient to connect an HTML presentation directly to XML data for interim updates without reloading the p ...

 A Short Tutorial on XMLHttpRequest() This tutorial will show you how to build a web page that responds to asynchronous events. In five simple exercises, we'll show you the core of an Asychronous JavaScript And XML (AJAX) application. You'll have to learn a little JavaScript, but there's no requirement to learn anything a ...

 Implementing simple AJAX interaction in your Web Application using XMLHttpRequest object This example will give you an idea about how you can implement simple AJAX interaction in your web applicati ...

 Ajax & PHP without using the XmlHttpRequest Object If you?ve wrestled with the whole XMLHttpRequest part of Ajax you should read this article. It clearly explains the technique of appending a new Javascr ...



Next: Fast DOM Queries in Today’s Browsers



Post Comment


You need to Login to post your comment...

Click here to login

Title:
 
Comment:



Daily Email Updates

AJAX Updates delivered directly to your Inbox...

Enter your email address:

Latest AJAXwith Updates

Popular AJAX Articles