<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Basic AJAX with XMLHttpRequest Class</title>
	<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/</link>
	<description>web application development with popular technologies</description>
	<pubDate>Tue, 02 Dec 2008 08:41:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Cameron Manderson</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5735</link>
		<pubDate>Tue, 22 Aug 2006 22:32:45 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5735</guid>
					<description>Ensure if you are using a server side response that is built be a script that you specify the expiry headers manually. IE reportedly has a bug. From PHP the example would be as follows:

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );  // disable IE caching
header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" ); 
header( "Cache-Control: no-cache, must-revalidate" ); 
header( "Pragma: no-cache" );</description>
		<content:encoded><![CDATA[<p>Ensure if you are using a server side response that is built be a script that you specify the expiry headers manually. IE reportedly has a bug. From PHP the example would be as follows:</p>
<p>header( &#8220;Expires: Mon, 26 Jul 1997 05:00:00 GMT&#8221; );  // disable IE caching<br />
header( &#8220;Last-Modified: &#8221; . gmdate( &#8220;D, d M Y H:i:s&#8221; ) . &#8221; GMT&#8221; );<br />
header( &#8220;Cache-Control: no-cache, must-revalidate&#8221; );<br />
header( &#8220;Pragma: no-cache&#8221; );
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Cameron Manderson</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5734</link>
		<pubDate>Tue, 22 Aug 2006 22:31:39 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5734</guid>
					<description>When you make a request with POST you will need to specify the "something..." like the contents of a GET request:

myvar=myVal&#038;whichever=whatever

This will need to be correctly encoded the same you do for GET requests.

Have a look at a reference I found for you:
http://www.yourhtmlsource.com/javascript/ajax.html#buildingarequest</description>
		<content:encoded><![CDATA[<p>When you make a request with POST you will need to specify the &#8220;something&#8230;&#8221; like the contents of a GET request:</p>
<p>myvar=myVal&#038;whichever=whatever</p>
<p>This will need to be correctly encoded the same you do for GET requests.</p>
<p>Have a look at a reference I found for you:<br />
<a href="http://www.yourhtmlsource.com/javascript/ajax.html#buildingarequest" rel="nofollow">http://www.yourhtmlsource.com/javascript/ajax.html#buildingarequest</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ivan kubica</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5696</link>
		<pubDate>Tue, 22 Aug 2006 13:47:13 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-5696</guid>
					<description>Does anybody know, how to use send fucntion with POST?
XMLHttpRequest.open("POST", url, true);
XMLHttpRequest.send(something....)
How can I specify the "something..."? 
thanx</description>
		<content:encoded><![CDATA[<p>Does anybody know, how to use send fucntion with POST?<br />
XMLHttpRequest.open(&#8221;POST&#8221;, url, true);<br />
XMLHttpRequest.send(something&#8230;.)<br />
How can I specify the &#8220;something&#8230;&#8221;?<br />
thanx
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Cameron Manderson</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4924</link>
		<pubDate>Sun, 13 Aug 2006 22:42:16 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4924</guid>
					<description>Nice pickup :-)</description>
		<content:encoded><![CDATA[<p>Nice pickup <img src='http://www.melbournechapter.net/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Richard Lee</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4701</link>
		<pubDate>Fri, 11 Aug 2006 00:21:54 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4701</guid>
					<description>Cam, I also read older versions of Mozilla lock-up if the server returns anything other than XML, so they suggest adding  overrideMimeType method call in the Mozilla/Safari code
&lt;code&gt;xmlHttpReq.overrideMimeType(&#039;text/xml&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Cam, I also read older versions of Mozilla lock-up if the server returns anything other than XML, so they suggest adding  overrideMimeType method call in the Mozilla/Safari code<br />
<code>xmlHttpReq.overrideMimeType(&#039;text/xml&#039;);</code>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Richard Lee</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4604</link>
		<pubDate>Thu, 10 Aug 2006 02:09:46 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4604</guid>
					<description>Another good reference I came across today:
http://developer.mozilla.org/en/docs/AJAX</description>
		<content:encoded><![CDATA[<p>Another good reference I came across today:<br />
<a href="http://developer.mozilla.org/en/docs/AJAX" rel="nofollow">http://developer.mozilla.org/en/docs/AJAX</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Cameron Manderson</title>
		<link>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4474</link>
		<pubDate>Wed, 09 Aug 2006 01:08:57 +0000</pubDate>
		<guid>http://www.melbournechapter.net/wordpress/programming-languages/javascript/cman/2006/08/09/basic-ajax-with-xmlhttprequest-class/#comment-4474</guid>
					<description>Some more good reference material for using AJAX:
- http://developer.apple.com/internet/webcontent/xmlhttpreq.html
- http://ajaxpatterns.org/wiki/index.php?title=Main_Page
- http://en.wikipedia.org/wiki/AJAX
- http://www.w3schools.com/ajax/default.asp</description>
		<content:encoded><![CDATA[<p>Some more good reference material for using AJAX:<br />
- <a href="http://developer.apple.com/internet/webcontent/xmlhttpreq.html" rel="nofollow">http://developer.apple.com/internet/webcontent/xmlhttpreq.html</a><br />
- <a href="http://ajaxpatterns.org/wiki/index.php?title=Main_Page" rel="nofollow">http://ajaxpatterns.org/wiki/index.php?title=Main_Page</a><br />
- <a href="http://en.wikipedia.org/wiki/AJAX" rel="nofollow">http://en.wikipedia.org/wiki/AJAX</a><br />
- <a href="http://www.w3schools.com/ajax/default.asp" rel="nofollow">http://www.w3schools.com/ajax/default.asp</a>
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
