function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jf317820jf317820 

prevent swf cache?

i have a swf embedded in an scontrol and i'm using it in a dashboard...the only problem being that the swf is being cached...how can i prevent this?

i've tried the headers:
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">

but no luck.

any ideas?
jf317820jf317820
fyi - i got this to work by doing the following:

my scontrol has a variable j that is a generated random number.  i then pass this variable to the end of the swf url in the object and embed tags to force the browser to download a new "version" of the swf each time the page is loaded.

if anyone runs into this problem and needs sample code, let me know.

joe