winzip icon

Track users Ver 3.0/Site Statistics

Submitted on: 1/6/2015 2:21:00 PM
By: Jose Lopez (from psc cd)  
Level: Intermediate
User Rating: By 6 Users
Compatibility: ASP (Active Server Pages), HTML
Views: 4008
     ******************************************* { Hi guys, I have decided to update the user tracking system once again. The updates are: -View daily hits. -Submit an IP directly to the block processing page -Log off -All pages are password protected Note: This code only works on servers supporting ASP (active server pages) 1. Download all the files and MS Access database from (both are in the zip file) 2. Unzip files to the root (warning! If you already started logging hits then your entire database will be overwritten) 3. Go to /fpdb/ open the database, open the Login table, and modify the username and password fields, by default the username is demo and the password is demo. 4. Remove read permissions of the /fpdb/ directory trough IIS management console, this will prevent someone from downloading it's contents, which in this case is the database ServerVariables.mdb. If someone is able to download it, then they can view the username/password and thus login to the page. 5. Give the IUSR_Machine account, write permissions to the /fpdb/ServerVariables.mdb database, otherwise you will receive and ODBC error 6. Include this snippet into every page you want tracked. Every page you want tracked must have the .asp extension, otherwise it wont log to the database 7. That's it. Go to, login and start viewing your hits. Download the files at View a demo at Please Let me know if you find this useful or have any questions, or problems. Jose } --UPDATE-- Due to the increase use of the "User tracking" software, and the problems encountered during installation, I have decided to dedicate a forum especially for it. Feel free to comment. Please give credit if you find the software useful. *******************************************

winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net

Other 2 submission(s) by this author


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)

Other User Comments

 There are no comments on this submission.

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)

To post feedback, first please login.