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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine server name

Status
Not open for further replies.

ddiamond

Programmer
Apr 22, 2005
918
US
Is there an asp function or method that will return the server name where the asp page is located?
 
Also look into

Response.Write (Request.ServerVariables("REMOTE_ADDR"))
Response.Write (Request.ServerVariables("REMOTE_HOST"))
Response.Write (Request.ServerVariables("HTTP_HOST"))


-DNG


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top