Jake, CF gets the CGI variables from the webserver. If IIS doesn't receive
the referral data, then CF will have a blank CGI var. HTTP_REFERER, just
like USER_AGENT is created on the client side and passed up to webserver.
Therefore it can be easily faked, deleted or blocked out. Most visitors will
pass a referral though, just don't rely it on being present.

Daniel

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jake McKee
Sent: Tuesday, June 21, 2005 10:33 PM
To: [email protected]
Subject: Grabbing user data on CFHTTP?


I'm using CFHTTP to read an RSS file into an application. I'd like to be
able to track the user Web sites that are calling this RSS file. I'm
having some IIS weirdness, and my log files aren't properly tracking
referrer, so I'd like to do this with code. Is that possible?

Since I don't really need to do anything with the data, I'm just doing
simple logging:

<cffile action="append"
          file="C:\Inetpub\www.blogfusion.com\referrer_log.txt"
          output="#CGI.SERVER_NAME#">


But this is just capturing the site where the RSS feed is being hosted.

Any ideas?

Thanks!

----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe:
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe:
   http://www.dfwcfug.org/form_MemberRegistration.cfm





----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to