Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Problem about Flash SWF with SSL and IE

New Here ,
Jul 29, 2009 Jul 29, 2009

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.

TOPICS
ActionScript
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 30, 2009 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 30, 2009 Jul 30, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines