NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

code snippet shows how to show how many active users there are on your site
2492 code snippet shows how to show how many active users there are on your site http://tutorials.programmingsite.co.uk/aspactiveusers.php This code snippet shows how to show how many active users there are on your site , this is quite widely used on the internet.

using your favorite text editor create the file global.asa and enter the code below
ASP > Tips and Tutorials > Counters Oct 10, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark code snippet shows how to show how many active users there are on your site:


Other links at ASP > Tips and Tutorials > Counters
The following ASP code will allow you to Count and Display the amount of visitors that are currently on or viewing your website.
Category:

This is a more accurate counter than our previous example , in this example the count only gets incremented once per session . This means your count will be more accurate if you want it to be that is.

Create a txt file and put your starting number in it . Then copy the code snippet below where you want the counter to display on your page.

In the example below the counter.txt is placed in the same directory as this page , if you put the txt file elsewhere remember and alter the Server.MapPath part of the code.
Category:

Count.asp creates a text file to write the numbers of current users. When a new user comes on the site, Count.asp reads old users count from text file, updates the value by one, and stores the new count value back in the text file. The new count value is also stored in a Session Variable so you can use that Session Variable on different pages to display current user count with the following code
Category:

Do you want to monitor what is a number of current users on your website? You can use Win32_PerfRawData_W3SVC_WebService object.
Category:

Learn how to use global.asa to display the number of users visiting your site. This tutorial can be broken down into two sections, global.asa, and numvis.asp. Before you can begin this tutorial, make sure your host supports global.asa.
Category:




Main Category
199
2044
829
286
175
1801
1439
913
1177
7568
70
917
59
2238
175

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19870
Categories: 1275
Registered Users: 761
Mailing List Subscribers: 2047
Unique Outgoing Hits: 230580

Pagerank Statistics
PR 10
1 site(s)
PR 9
14 site(s)
PR 8
36 site(s)
PR 7
246 site(s)
PR 6
698 site(s)
PR 5
1806 site(s)

PHP News