flash data integration:
Hi, I wondering if anyone has had an issue with cached xml files on the server. I have an asp.net application that sits on a server and domain that creates a xml file. The actual .swf file exists on a different server and domain and pulls the xml file and displays the data. The problem is that once you publish the xml file, sometimes the when you view the .swf file it pulls the old data. I understand how different browsers cache data, like internet explorer, you can change the setting to view html pages everytime you view the page versus automatically. If anyone can recommend a better methodology or tool, please let me know. Thanks in advance! Thanks, Jaime Cavazos
Throw a timestamp on the end of the url of the xml file you're loading. It'll solve your problem. var date = new Date(); var ts = ts.getTime(); xmlobject.load("something.xml?ts="+ts); Or if you're passing the url dynamically, you could use .net to generate a timestamp and pass it to flash.. either way will work. Tim
Don't see what you're looking for? Try a search.
|