Want to disable flash caching ?

Posted by Mina Samy on Stack Overflow See other posts from Stack Overflow or by Mina Samy
Published on 2010-06-01T13:39:45Z Indexed on 2010/06/01 13:43 UTC
Read the original article Hit count: 151

Filed under:

Hi all

I have a .swf flash gallery that loads pics from a XML file

the probelm is when I modify the XML the modifications do not reflect on the flash till I delete the browsing cache from the browser

I tried to disable caching using code like this

Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.AddHeader("Pragma","no-cache");
Response.Expires = -1;

but not working

is there any workaround for this ?

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET