HTTPRequest - getting IP address
I am trying to figure out the best way of "getting" the IP address of users accessing a site. I know that using the IP address to identify unique users has a few flaws...
For example, I get a different IP address every time I use my RoadRunner account! Also for many users the converse is true and that IP addresses are the same for lots of users--for example, everyone logging into your site from ASNA's home office (thanks to our firewall) will report the same IP address.
BUT ... I really need to get something working on this... Anyone with any ideas?
gollnick
Re: HTTPRequest - getting IP address
VB Code:
string ipAddress = HttpContext.Current.Request.ServerVariables("REMOTE_ADDR");
Re: HTTPRequest - getting IP address