Ken Barrett

Ken Barrett

  • NA
  • 123
  • 0

Getting the remote IP address of a visitor to my site

Sep 10 2009 1:57 PM
How can I get the IP address of a visitor to my site?

The documentation I can find on RemoteAddress is pretty confusing.

I found one item on the web showing :

string ip=Request.ServerVariables("REMOTE_ADDR");

But I get errors with that.  So I'm at a loss here.

TIA
Ken

Answers (3)