Groups | Blog | Home
all groups > dotnet faqs > january 2004 >

dotnet faqs : IP Address questions???


Hai Nguyen
1/9/2004 11:45:53 PM
Hi everyone

I'm making a page which needs to identify users comming from a certain IP
address. I've never have experience with this.
Would anyone give me any hints?

Thanks

Chris Taylor
1/10/2004 4:38:43 PM
Hi,

You can use Request.UserHostAddress to obtain the IP address of the client
requesting the web page. However this might not be acurate as any
intermediate proxy or NAT servers will hide to original originating IP
address.

Hope this helps

--
Chris Taylor
http://dotnetjunkies.com/WebLog/chris.taylor/
[quoted text, click to view]

AddThis Social Bookmark Button