<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Caching problem in IE with Ajax : A Solution</title>
	<atom:link href="http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/</link>
	<description>PHP, Memcached, XMPP and Web Development</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:03:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sven</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-58654</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Wed, 10 Aug 2011 13:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-58654</guid>
		<description>@bhunchal

I tried the timestamp idea.
Works wonderfully!</description>
		<content:encoded><![CDATA[<p>@bhunchal</p>
<p>I tried the timestamp idea.<br />
Works wonderfully!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emubd</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-40816</link>
		<dc:creator>emubd</dc:creator>
		<pubDate>Tue, 12 Apr 2011 04:56:40 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-40816</guid>
		<description>what a nice solution it is!thank you for giving a best solution.but i have gotten a better solution in other site.this site below
IE6 &amp; IE7 makes problem when use xmlhttprequest for ajax

At first time when I used core ajax using xmlhttprequest. Using this technique we sent parameter as querystring through the url,like this,...more
http://aspboss.blogspot.com/2010/02/problem-using-ajax-call-in-ie6-and-ie7.html</description>
		<content:encoded><![CDATA[<p>what a nice solution it is!thank you for giving a best solution.but i have gotten a better solution in other site.this site below<br />
IE6 &amp; IE7 makes problem when use xmlhttprequest for ajax</p>
<p>At first time when I used core ajax using xmlhttprequest. Using this technique we sent parameter as querystring through the url,like this,&#8230;more<br />
<a href="http://aspboss.blogspot.com/2010/02/problem-using-ajax-call-in-ie6-and-ie7.html" rel="nofollow">http://aspboss.blogspot.com/2010/02/problem-using-ajax-call-in-ie6-and-ie7.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott1</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-115</link>
		<dc:creator>Scott1</dc:creator>
		<pubDate>Mon, 25 Jan 2010 17:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-115</guid>
		<description>Another Scott here. I couldn&#039;t agree more and have bitched for a few years now. Microsoft, please make no caching the default. If someone needs caching (ie; they are browsing from the f****** moon) then let them set it. I sometimes wonder if MS feels so threatened by web apps that they undermine them. Our site (product) is BtoB ajax and of course our customers all use IE thanks to their 1980&#039;s IT departments.

I cringe when our customers call, thinking what has Redmond done now to hurt me.

There, I feel better too.</description>
		<content:encoded><![CDATA[<p>Another Scott here. I couldn&#8217;t agree more and have bitched for a few years now. Microsoft, please make no caching the default. If someone needs caching (ie; they are browsing from the f****** moon) then let them set it. I sometimes wonder if MS feels so threatened by web apps that they undermine them. Our site (product) is BtoB ajax and of course our customers all use IE thanks to their 1980&#8242;s IT departments.</p>
<p>I cringe when our customers call, thinking what has Redmond done now to hurt me.</p>
<p>There, I feel better too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ben</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-114</link>
		<dc:creator>ben</dc:creator>
		<pubDate>Mon, 25 Jan 2010 08:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-114</guid>
		<description>Thanks for the solution this problem had been bugging me for some time.....</description>
		<content:encoded><![CDATA[<p>Thanks for the solution this problem had been bugging me for some time&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-113</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Tue, 18 Aug 2009 18:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-113</guid>
		<description>I too have had the same problem with IE. With high speed connections, these browsers shouldn&#039;t cache anyway or at least default to a no cache state. Unfortunately, our site is a BtoB site and the businesses we deal with all use this crappy browser which should be relegated to the AOL crowd. There, I feel better now.</description>
		<content:encoded><![CDATA[<p>I too have had the same problem with IE. With high speed connections, these browsers shouldn&#8217;t cache anyway or at least default to a no cache state. Unfortunately, our site is a BtoB site and the businesses we deal with all use this crappy browser which should be relegated to the AOL crowd. There, I feel better now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-112</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 03 Dec 2008 02:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-112</guid>
		<description>Thank you for this post, &lt;strong&gt;this solution worked for me&lt;/strong&gt;
      here&#039;s how I implemented it

function getData(dataSource, divID)
		{
			document.getElementById(&#039;message&#039;).innerHTML=&quot;&quot;;
			if(XMLHttpRequestObject)
			{
				dataSource=dataSource+&lt;strong&gt;&quot;&amp;timeid=&quot;+(Math.random()*100000)&lt;/strong&gt;;
				var obj = document.getElementById(divID);
				XMLHttpRequestObject.open(&quot;GET&quot;, dataSource);

				XMLHttpRequestObject.onreadystatechange = function ()
				{
					if (XMLHttpRequestObject.readyState == 4 &amp;&amp; XMLHttpRequestObject.status == 200)
					{
						obj.innerHTML = XMLHttpRequestObject.responseText;
					}
				}

				XMLHttpRequestObject.send(null);
			}
		}
I hope this helps</description>
		<content:encoded><![CDATA[<p>Thank you for this post, <strong>this solution worked for me</strong><br />
      here&#8217;s how I implemented it</p>
<p>function getData(dataSource, divID)<br />
		{<br />
			document.getElementById(&#8216;message&#8217;).innerHTML=&#8221;";<br />
			if(XMLHttpRequestObject)<br />
			{<br />
				dataSource=dataSource+<strong>&#8220;&amp;timeid=&#8221;+(Math.random()*100000)</strong>;<br />
				var obj = document.getElementById(divID);<br />
				XMLHttpRequestObject.open(&#8220;GET&#8221;, dataSource);</p>
<p>				XMLHttpRequestObject.onreadystatechange = function ()<br />
				{<br />
					if (XMLHttpRequestObject.readyState == 4 &amp;&amp; XMLHttpRequestObject.status == 200)<br />
					{<br />
						obj.innerHTML = XMLHttpRequestObject.responseText;<br />
					}<br />
				}</p>
<p>				XMLHttpRequestObject.send(null);<br />
			}<br />
		}<br />
I hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Truly</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-105</link>
		<dc:creator>Truly</dc:creator>
		<pubDate>Sat, 07 Jun 2008 18:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-105</guid>
		<description>hehe....</description>
		<content:encoded><![CDATA[<p>hehe&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-104</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 06 Jun 2008 23:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-104</guid>
		<description>Ek dum sahi truly bhaiya...Maan gaye aapko :P</description>
		<content:encoded><![CDATA[<p>Ek dum sahi truly bhaiya&#8230;Maan gaye aapko <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Truly</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-103</link>
		<dc:creator>Truly</dc:creator>
		<pubDate>Fri, 06 Jun 2008 21:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-103</guid>
		<description>vaise apne ko jitna pata hai usse yeh kaam aise ho sakta hai. When passing the url you can append the random function Math.random(); to the url string like this:

var urlVar = urlVar + &#039;&amp;&#039; + Math.random();

This will solve the problem also.</description>
		<content:encoded><![CDATA[<p>vaise apne ko jitna pata hai usse yeh kaam aise ho sakta hai. When passing the url you can append the random function Math.random(); to the url string like this:</p>
<p>var urlVar = urlVar + &#8216;&amp;&#8217; + Math.random();</p>
<p>This will solve the problem also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/comment-page-1/#comment-102</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 06 Jun 2008 21:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://abhinavsingh.com/blog/2008/06/caching-problem-with-ie-with-ajax-a-solution/#comment-102</guid>
		<description>hehe, truly bhaiya its not so great. It all looks blah blah if you stand on the other side of the fence. But in reality its all crap and can be easily done. :)

Aap bhi aa jao issi field mein, interesting hai. :)</description>
		<content:encoded><![CDATA[<p>hehe, truly bhaiya its not so great. It all looks blah blah if you stand on the other side of the fence. But in reality its all crap and can be easily done. <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Aap bhi aa jao issi field mein, interesting hai. <img src='http://abhinavsingh.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

