Checking IP

  • Thread starter Thread starter Hai Nguyen
  • Start date Start date
H

Hai Nguyen

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
 
Request.ServerVariables("REMOTE_ADDR")
This should give you the IP address of the computer making the request.

Alternately, you can configure IIS to permit access to your web site only
from specific IP addresses.
 
Back
Top