Re: FN-FORUM: Ban by IP
date posted 1st November 2004 19:50
Jamie Lewis wrote:
> RemoteIP = Request.ServerVariables("REMOTE_ADDR")
(Not really an answer to the question - more a comment on REMOTE_ADDR)
That won't work for a reasonable number of users, such as those on NTL
who most likely all come through with some IP from their local network,
so blocking that IP will block all those users instead.
You'd also need to check HTTP_X_FORWARDED_FOR, as for those users, this
will contain the actual IP.
--
http://www.dandylogic.com