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

Count Active visitors
2489 Count Active visitors http://www.bytemycode.com/snippets/snippet/159/ The following ASP code will allow you to Count and Display the amount of visitors that are currently on or viewing your website. ASP > Tips and Tutorials > Counters Oct 10, 2006 dannyboy

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

Bookmark Count Active visitors:


Other links at ASP > Tips and Tutorials > Counters
Do you want to monitor what is a number of current users on your website? You can use Win32_PerfRawData_W3SVC_WebService object.
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:

create a text file in note pad, called 'hit_count.txt' containing the digit 0, and save it in the same directory as you are going to place the page containing the hit counter script (make sure there are no other characters in the file).
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:

examines a technique to provide dynamic content generated from an ASP page onto a static HTML page. Specifically we needed to display a page counter on a number of static HTML pages. This article discusses how we accomplished this.
Category:




Main Category
194
2041
824
286
175
1802
1238
913
1163
7489
70
909
59
2222
174

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: 19539
Categories: 1275
Registered Users: 750
Mailing List Subscribers: 2046
Unique Outgoing Hits: 228131

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
33 site(s)
PR 7
247 site(s)
PR 6
762 site(s)
PR 5
1892 site(s)

PHP News