IE always caches the response, so you have to explicitly set cache=false in your ajax call. You can either do that on your specific ajax call, or globally via the $.ajaxSetup function. Consult the jQuery docs -> Ajax section for more information.

-- Josh


----- Original Message ----- From: "ch2450" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Friday, September 12, 2008 1:16 PM
Subject: [jQuery] IE ajax request giving the same result every time it's called



Hi,
Every ten seconds I'm checking the id of the last entry in my
database. For this purpose I'm using a GET ajax request calling a
really simple PHP code.
This step works wonderfully for Firefox and Safari on PCs and Macs. IE
however seems to return the same number over and over (the number it
got from its first request), although I'm positive that the db has
been updated correctly.
Anyone familiar with this random behavior from IE?

Clem.

Reply via email to