Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Coldfusion or JS Referrer NOT recognized from Flash AS

Posted on 2004-10-29
6
Medium Priority
?
405 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:splendorx
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 
LVL 1

Author Comment

by:splendorx
ID: 12447817
FYI - the referrer is recognized by Netscape and Firefox.  However, it is NOT recognized by IE.
0
 
LVL 27

Accepted Solution

by:
negatyve earned 1200 total points
ID: 12505729
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."
0
 
LVL 1

Author Comment

by:splendorx
ID: 12512853
Are there any documented alternatives for getting the http_referer?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question