If I pass it in the RSS feed call URL, how do I then grab that data?

Jake

Daniel Elmore wrote:

The SERVER CGI variable is not what you want. The only way to track this
with CGI would be to use the REMOTE_ADDR variable and reverse the IP back to
a domain, which will only work for you if you're not sharing IPs. I suggest
you just pass the domain name in the RSS feed call.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jake McKee
Sent: Wednesday, June 22, 2005 5:17 PM
To: [email protected]
Subject: Re: Grabbing user data on CFHTTP?


I've tried a number of the CGI variables, same problem. To recap:

RSS file on Server 1
CF page on server 2 with CFHTTP tag calling RSS file

With a block of code in the RSS file looking for Server 1, the CGI
variables are actually logging the domain of server 1, rather than
server 2 like intended.

Hopefully that makes sense.

Jake

Daniel Elmore wrote:

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









----------------------------------------------------------
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







----------------------------------------------------------
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