Hello, I have an app where I create an xml file from a database on the fly for the slideshow application that can be found on codeplex. Cool app! My modifications simply get the data from the tables and creates the data.xml file that slideshow uses to render the images for the specific image album selected. This all works great!
My customer wants the images to load randomly, which is a feature not included in the slideshow app. So I modified my SQL to get the slides rows in a random order. This works great as well!
My issue is browser cache for the data.xml. Even though the data.xml is re-generated for each page load I believe that the cache or session prevents the new data.xml from being used. The first landing on the site gets the random order...
How can I programatically clear out the users cache or session to ensure they get the latest data.xml? I can do it manually on my production machine by deleting browser history...
Start Free Trial