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,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top