PDA

Click to See Complete Forum and Search --> : Tracking IP?


glitch13
Dec 9th, 2000, 01:49 AM
could someone point me to some code that allows you to track the IP's and/or domain names hitting your site (prefferably domains)?

glitch13
Dec 9th, 2000, 02:00 PM
should I translate the lack of responses as there being no way?

oetje
Dec 9th, 2000, 02:19 PM
I don't really understand your question. Do you host the website yourself? Do you develop the webserver yourself?

glitch13
Dec 9th, 2000, 04:45 PM
ya, its hosted on my machine at home.


I'm wanting a way to log the ip/domain of every person that hits the site. ACtually all i need is the code for retrieving the info from the person hitting the site, I'll take care of putting it into the database.

oetje
Dec 10th, 2000, 01:47 AM
What kind of webserver software do you use?

glitch13
Dec 10th, 2000, 11:12 AM
PWS

glitch13
Dec 11th, 2000, 04:35 PM
nothing, eh?

glitch13
Dec 12th, 2000, 11:34 AM
Ok, for the sake of people coming here looking for how to do this, i did it and ill post it.


the server side variable:
'Request.ServerVariables("REMOTE_HOST")'
will return the ip address of the person visiting your site. in order to get it to return the Domain name instead just follow the instructions on this page:
http://support.microsoft.com/support/kb/articles/q245/5/74.asp