A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] HTTPS and Flash, caching problems for IE specifically

  1. #1
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749

    resolved [RESOLVED] HTTPS and Flash, caching problems for IE specifically

    Hi,
    I have built a working application (http://www.proofhq.com) that communicates with a SOAP server using HTTP.
    The situation
    We are trying to move to HTTPS and have a problem in that specific calls are not being received into Flash.
    EG: I have a configuration xml file that I can see from Fiddler is correctly served as valid XML, and that can be read by Flash under HTTP, but NOT under HTTPS.
    Similarly, (specific) basic SOAP requests that work under HTTP are not working under HTTPS, even though many others are...
    The cause
    It looks like caching settings are being applied too rigorously by IE so that the file is served, but then removed from the cache before the plugin can read it. In the case of the config file, removing the caching header tags allows the plugin to read the file under HTTPS.
    The problem
    We can't just remove the cache headers as we need to ensure all data is current.
    HELP ME!
    Has anybody got any ideas as to what the best solution is to this that will ensure a) we do not cache files and b) Flash can still read them under https?
    Thanks,
    G

  2. #2
    ___________________
    Join Date
    May 2004
    Posts
    3,174
    would it be naive to suggest the cheesy cachebuster method of appending a unique string to the url request?
    PHP Code:
    var unique Date.parse(new Date());
    var 
    urlstring "https://whatever.com/filename.ext?pointlessvar=" unique

  3. #3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center