====== Request.NoCache ======
[[http://www.clientcide.com/docs/Request/Request.NoCache|docs]]
IE has a bad habit of caching ajax request values. Including this script and setting the noCache value to true will prevent it from caching. The server should ignore the noCache value.
All you have to do is include this script in your download and then use the //Request// class as you normally would.
new Request({
url: '/wiki/simple.php',
data: { num: 10 },
method: 'get',
noCache: true,
onComplete: function(text) {
console.log(text);
}
}).send();
If you execute the above code block and then look in your console, you'll see that the data (num: 10) gets passed to the server, but you'll also see the noCache value, which is ignored by the server. It should look like this:
http://www.clientcide.com/wiki/simple.php?noCache=1228178775083&num=10