So Andrew....does the CGI.HTTP_X_Forwarded_For give the IP of the computer behind a proxy server??

Thanks

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

---------------------------------------------------------
Macromedia Associate Partner
www.macromedia.com
---------------------------------------------------------
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
  ----- Original Message -----
  From: Andrew Grosset
  To: CF-Talk
  Sent: Monday, June 21, 2004 8:23 PM
  Subject: Re: HitBox for web traffic/marketing

  came across this cgi.variable the other day, not sure if this helps or not but:

  ColdFusion with Proxy detection:

  <cfif CGI.HTTP_X_Forwarded_For EQ "">
    <cfset ipaddress=CGI.Remote_Addr>
    <cfset a=1>
  <cfelse>
    <cfset ipaddress=CGI.HTTP_X_Forwarded_For>
    <cfset a=2>
  </cfif>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to