Your code looks great... much better then what I patched together a few
months ago... Where did you get the documentation necessary?  I was not able
to find anything beyond some very basic example files on the macromedia
site. 

I also believe tjat your code has the same bug as mine.  When a user comes
through several proxies, the header will have several ip addresses in there,
such as (10.0.0.1; 192.168.0.1; 65.65.65.65). This is from memory, so I
might get the semantics wrong a little bit, but you get the idea.  Just
grabbing the header might work most of the time, (although I believe you
need to strip out the first ip, as that's the ip of the proxy if my memory
serves me correctly), but for those coming through other proxies, you will
get more then 1 ip.  This might be fine if you're just using this for
debugging purposes, but if you want this filter to give CF accurate ips for
most users, you'll probably need to tokenize the header and grab the last
ip. 

Russ

> -----Original Message-----
> From: Joseph Lamoree [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 07, 2006 4:16 AM
> To: CF-Talk
> Subject: Re: Debugging per request
> 
> I finished putting the filter into production, and it's working
> perfectly. I wrapped up my notes, the source, and the built jar in
> case anyone wants to take a look:
> 
>    http://www.teleologic.net/~jlamoree/teleologic-server.zip  (80285
> bytes)
>    http://www.teleologic.net/~jlamoree/teleologic-server.tar.gz
> (75579 bytes)
> 
> Thanks for the advice. I appreciate it.
> 
> --
> Joseph Lamoree
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245679
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to