Coldfusion or JS Referrer NOT recognized from Flash AS

Trying to display referrer from AS code, but it is not recognized by either JS or Coldfusion.  The Flash AS button is:

_root.myButton_btn.onPress = function() {
      getURL("javascript:var mypopup ='','mySite','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=780,height=425');");

The web page that that pops up does NOT recognize the referrer.  The code to output referrer that has been used is:


<script language="Javascript">
if (document.referrer&&document.referrer!=""){
document.write('Referrer URL: '+document.referrer+'<BR>');
else{document.write('NO referrer');}

Any ideas why this may be occurring and is there a solution?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

splendorxAuthor Commented:
FYI - the referrer is recognized by Netscape and Firefox.  However, it is NOT recognized by IE.
It is a known bug. This come from a flashkit thread on the argument:

"The reason you don't get the HTTP_REFERER environment variable is because it is not filled in by the Flash Player ActiveX Plug-in for IE.
The feature is disabled due to a conflict between the Flash Player ActiveX plug-in and IE4 - which MacroMedia are commited to supporting.
The plug-in and browser crashed when attempting to fill out this variable and thus MM disabled the feature in its IE plug-in."

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
splendorxAuthor Commented:
Are there any documented alternatives for getting the http_referer?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.