On 7 Jul 2006, at 07:38, Russ wrote:

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

Thanks. I used the javadocs for J2EE and an article on SDN:
   http://java.sun.com/j2ee/1.4/docs/api/
   http://java.sun.com/products/servlet/Filters.html

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

The X-Forwarded-For header may indeed have multiple addresses. The  
header created by my application proxy won't. However, I will add  
some logic to parse the header for the first IP when multiples  
appear. That will make it a more general purpose utility.

--
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:245683
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to