After a fair bit of reading and a lot of hair pulling, I have three files 
like this:

Index.htm looks like this:
<html>
<body>
Test page.
<script language="Javascript" 
src="http://www.stuffbythane.com/SiteTracker/UpdatePageInfo.js";></script>

</body>
</html>

UpdatePageInfo.js looks like this:
function Get_Referrer() {
    document.write("<img 
src='http://www.stuffbythane.com/SiteTracker/test2.cfm?in="; + 
document.referrer + "&out=" + document.location + " '>");
    document.write("</");
    document.write("script>");
    alert("Get Referrer Running.");
}
Get_Referrer();

Test2.cfm looks like this:
<!--- <CFQUERY name="test" datasource="SiteTracker">
         INSERT INTO Test(In, Out)
         VALUES  ('#URL.In#', '#URL.Out#')
</CFQUERY> --->
<script language="javascript">
         alert("Test2 running.");
</script>
<cfcontent type="image/GIF" file="test.gif">

So far as I can tell, test2.cfm doesn't get called.  Or if it does, it 
doesn't run.  The Get Referrer Running alert appears, and the gif 
placeholder appears (with the proper properties) but no gif appears, and 
the Test2 Running alert doesn't come up, and nothing goes into the database.

What am I doing wrong?

T

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to