On Wed, 19 Jan 2005 12:29:54 -0500, Doug James <[EMAIL PROTECTED]> wrote: > Jim, > > You are correct the xmlhttprequest is a post to a page to handle the request. > I was thinking of > forms when I wrote my first post. > > JavaScript posts the information to a page, presumably a cfm, which processes > the request then > replies with a mime type of xml and xml only. > > My apologies for any confusion. >
Doug, While I might be reading your post incorrectly, I don't think your clarification is entirely accurate. You do not *have* to return xml nor is the mime type of a xmlHTTPRequest response necessarily xml. Case in point, Google's GMail service uses xmlHTTPRequest calls as its transfer mechanism, and the returned information is in the form of JavaScript arrays, not XML. Further, we use xmlHTTPRequest for one of our apps, and simply return a string value (viewing the headers via the FireFox Live Headers extension confirms that the mime type is text/html). The name "xmlHTTPRequest" happens to have xml in it, but that does not confine the mechanism to simply passing back XML data. Again though, I may have mis-read what you wrote. Regards, Dave. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware: a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191104 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

