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

Determine Domain 1

Status
Not open for further replies.

qwert62

Programmer
Oct 12, 2000
28
0
0
US
I am trying to determine a persons domain when they enter a website. For example if the person is entering my website from I want to display Can anybody help with this? I know that Request.ServerVariables("Remote_Host") will display my website's domain, but I am looking for the browser's domain.

Thanks in advance for any ideas.
 
Is Request.ServerVariables("HTTP_REFERER") only available in ASP.Net? My application uses classic and I am not getting anything returned for this value. I noticed that the http_referer didn't exist when I listed all the request.servervariables.

Thanks in advance for any ideas.
 
Request.ServerVariables("HTTP_REFERER") is a classic ASP Server Variable...

and it should return something :)

show us your code...

-DNG
 
DotNet, thanks for the help. I am just realizing that my client is using a response.redirect to get to our site, therefore the http_referer doesn't have a value.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top