Upon subsequents HTTPGet requests, Internet Explorer caches the url and doesn't retrieve new data. A good fix is setting an expired request header in function HTTPGet():

  ....
  xmlHttp.open('GET', uri, bAsync);
  xmlHttp.setRequestHeader('If-Modified-Since', 'Sat, 1 Jan 2000 00:00:00 GMT');
  xmlHttp.send(null);
  ....

Comments

Thox’s picture

This should be optional depending on the circumstances of the request. I've actually been considering a complete overhaul of the AJAX functions in Drupal. I put it on pastebin for now.

magico’s picture

Version: 4.6.5 » 4.6.9

Deserves a patch for 4.6.9?

magico’s picture

Version: 4.6.9 » 4.7.3

drupal.js only appeared in 4.7.x

magico’s picture

Version: 4.7.3 » 5.x-dev
Status: Active » Fixed

This portion of code was changed for jQuery. So, it's probable that this problem does not exist.

Anonymous’s picture

Status: Fixed » Closed (fixed)