Link to home
Start Free TrialLog in
Avatar of splendorx
splendorx

asked on

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 = window.open('http://www.slp3d2.com/launchsiteglobal/previewPlayer/previewPlayer2.cfm?projectCode=ahs_1243&clientName=morristown&previewStatus=ready','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:

<cfoutput>
referer:#CGI.HTTP_REFERER#
</cfoutput>

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

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

TIA,

Terry
Avatar of splendorx
splendorx

ASKER

FYI - the referrer is recognized by Netscape and Firefox.  However, it is NOT recognized by IE.
ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Are there any documented alternatives for getting the http_referer?