Forum Moderators: open

Message Too Old, No Replies

Detecting proxy visitors through ASP

some kind of server variable?

         

dataguy

5:13 pm on May 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I recall seeing something years ago about detecting if a web visitor is viewing an ASP page through a proxy. Am I just imagining things? Seems like it was a server variable, but I can't find anything on it now.

If this is possible, is it reliable? Seems like a solution to a lot of problems if it works, like flaging form spam bots, automated registrations, etc.

TIA...

sgietz

1:51 pm on May 4, 2007 (gmt 0)

10+ Year Member



I was able to dig this one up:

Request.ServerVariables("HTTP_X_FORWARDED_FOR")

Numpty

4:59 pm on May 4, 2007 (gmt 0)

10+ Year Member



There are some people (like me) who use a proxy for legitimate reasons though.

We have one on our office firewall, so everyone accessing the web goes out through the proxy.

dataguy

8:07 pm on May 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ah, perfect. Exactly what I need. Thanks!

aspdaddy

6:06 pm on May 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No, unfortunately its not reliable. I think it basically depends on if the proxy chooses to forward the info.