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!

<b>How to track who is visiting my site</b>

Status
Not open for further replies.

lsyhu

Programmer
Apr 27, 2002
12
US
Hi, guys,

How can I track who visits my web site?
I want to save the visitor's IP address in some text file. How to do that?

Thanks.

Lisa
 
Enable logging in IIS - go to the Properties of the website, Website tab, and check Enable Logging, and hit the property button if you want to tweak what is logged, and where it's logged to.
-Steve
 
You can also use the FSO to write that into a separate text file if you wanted. It might make it a little easier to read than the IIS logs, and you can also control how it is written, and what is written.

You can obtain things like IP, URL, OS,.... from the servervarialbes object. (Request.servervariables("name"))

The money's gone, the brain is shot.....but the liquor we still got.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top