Skip to main content
Participant
July 30, 2009
Question

Problem about Flash SWF with SSL and IE

  • July 30, 2009
  • 1 reply
  • 1750 views

Hello all,

I have a problem about flash + SSL + IE

For Flash SWF + SSL : http://kb2.adobe.com/cps/000/fdc7b5c.html -> we need remove the code in aspx page :

Response.Cache.SetCacheability(HttpCacheability.NoCache)

However, ie cache flash file. So, when the page reload then flash not reload.

For solve problem ie cache, we have http://kb2.adobe.com/cps/147/tn_14743.html -> it says we need add code in page :

Response.Cache.SetCacheability(HttpCacheability.NoCache) (conflict with SWF + SSL).

So, do we have solution for work around Flash SWF with SSL and IE ?

Thanks a lot,

Hai.

This topic has been closed for replies.

1 reply

Inspiring
July 30, 2009

When you embed the swf in the page, append a random number to it and it should prevent caching:

"file.swf?r=23948734"

Obviously you'll need to generate the random number using javascript, but that should do it.

Participant
July 31, 2009

Hi Philter,

I already applied this solution, but it's not effect in ie with SSL :

function AC_FL_RunContent(){
  var ret =
    AC_GetArgs
    (  arguments, ".swf?foo="+new Date()+"", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

in all file AC_OETags.js and AC_RunActiveContent.js. But it's not effect. IE with SSL still cache flash.

So, do we can have another solution?

THANKS A LOT,

Hai.