Forum Moderators: open

Message Too Old, No Replies

XML Caching issue with IE

Trying to do Dynamic update of Flash File

         

Bluesprocket

6:22 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



I am doing a realestate website that calls a random property to the front page of the site. When the property is called, the list of images for that property are written to an XML file that drives a flash slideshow. This works fine on Firefox (PC or Mac), Safari and IE on the mac. IE on PC apparently casches the XML data and I get the same images rotating in the slideshow no matter what property is called from the db.

The XML file is being written new everytime you load the page, I have tried the headers solutions I have found to force the page not to casche but it doesnt seem to work.

I have been using flashnifties XML_slideshow and it works great for what I need except for this....Anyone please help. Thanks

cmarshall

8:05 pm on Jan 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld!

I'm not familiar with the library in question, but it doesn't actually sound like an XML problem. I suspect, rather, it may be a problem with the surrounding [X]HTML code.

I know that there are a number of ways to force cache flushes.

I don't use Flash much, so I don't know how much help I can be.

Achernar

12:40 am on Jan 4, 2008 (gmt 0)

10+ Year Member Top Contributors Of The Month



Add a parameter to the url of the xml file that makes it unique.
In ajax I use the current timestamp. Each request looks like this: "/somepage.php?1199005627749".
A unique client won't request two identical url unless they are made in the same second.

Bluesprocket

1:14 am on Jan 4, 2008 (gmt 0)

10+ Year Member



That worked...Thanks for your help.