Tuesday, 29 November 2011

ACTIVE USERS

One popular web statistic that is fun to track is how many users are currently using your website.

The first thing you need to do is create a global.asa page with the code below:



Next, we create a displaystats.asp page and enter the code as seen below:


ASP Web Pro




There are currently <% = Application("ActiveUsers") %> users on this website.





Now, you have a count of how many Active Users are on your website.

http://www.aspwebpro.com/aspscripts/statistics/activeusers.asp

No comments:

Post a Comment