neurofuzzy, flash game development, rich internet applications, free source code – *alt.neurotica.fuzzy*

neurofuzzy, flash game development, rich internet applications, free source code – *alt.neurotica.fuzzy*

7/26/2006

Flash Player 9 and Referrers

Filed under: General — geoff @ 1:12 pm

I do load-balancing on one of my sites by delivering content from different servers based on the referring URL.  I have a media player that uses Flash to deliver content, and if the player is embedded on an external site, such as MySpace, the content comes from a different server.  This worked fine in Flash 8, but in Flash 9, the content still comes from my original server.  The reason behind it seems to be that Flash 9 reports its referrers differently.  I use a BASE attribute to set the players base URL to my main server, so Flash 9 reports that as the referrer.  Has anyone else run into this behavior?  Is this something to do with the new Flash 9 security model?

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

2 Comments »

  1. does it mean Flash 9 has an auto-sent referrer when loadVar getURL in Flash swf files.

    Since in Flash 8, when I use the loadVar class and getURL function, there defaultly is a null referrer in the headers to my server!!!!

    http://www.adobe.com/go/b06f1712
    please refer the above adobe note:
    they mentioned that “there is no workaround right now….”

    Comment by Bennett — 11/8/2006 @ 7:44 am

  2. I have a test for my guess. Flash 9 player does send _url of an swf file as the referrer in http headers rather than a null one in Flash 8!!!

    Comment by bennett — 11/25/2006 @ 3:42 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

 

Powered by WordPress