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&&docume nt.referre r!=""){
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
_root.myButton_btn.onPress
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&&docume
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Are there any documented alternatives for getting the http_referer?
ASKER