That tutorial is a little confusing in its terminology. There is no XML
"file". The XML data is generated on demand when a request is received
from the client and the results are placed into the reply.

However, MSIE isn't smart enough to be aware that the data is being
dynamically generated (I think most other browsers are) and tries to
cache the old data from that URL. In order to fool MSIE into bypassing
the cache change this line:
  GDownloadUrl("phpsqlajax_genxml.php", function(data) {
into
  GDownloadUrl("phpsqlajax_genxml.php?bogus="+(new Date()).getTime(),
function(data) {

This adds a bogus parameter (which your server will ignore) but MSIE
thinks it's a different URL from the one that it cached, so it sends the
request rather than using the old data.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to