Checking IP

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
 
S

Steve C. Orr [MVP, MCSD]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top