Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

capturing an IP address in ASP

Status
Not open for further replies.

DeepBlerg

Technical User
Jan 13, 2001
224
AU
Hi,

Does anyone know some vbscript that can capture an IP address?

Thanks,
Tim
 
Request.ServerVariables("REMOTE_ADDR")

Using this u can capture the IP address of the user who is sending request to your server.(The IP address of the remote host making the request)
 
FYI: If the user is using a proxy server, the address returned will be the address of the proxy server, not the users machine.

nick bulka

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top