954,598 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

count number of visitors at certain page not all visitors of site

Good mourning or Good night ;)
i am working on asp site (VBscript)
of course with javascript as client side
i wanna 2 count n of visitors at same page
just like when u open for ex asp forum in daniweb.com
displays
Currently Active Users browsing ASP : 7 (1 members & 6 guests)
what ever by count sessions or what ever
i want easy and flexible method
:icon_biggrin:

mohamed1
Newbie Poster
15 posts since Feb 2009
Reputation Points: 8
Solved Threads: 0
 

help please ........!!!!!!!!

mohamed1
Newbie Poster
15 posts since Feb 2009
Reputation Points: 8
Solved Threads: 0
 

Hi Mohamed,
First, use global.asa to put every visitor into a table and assign them a unique ID. The count of the records is the number of the total visitors.

Once a visitor logs in, you assign him a member tag (e.g. a field in the database: member [yes/no]). Now you can count the number of the members.

The guests are the total number of visitors reduced by the number of the members.

Good luck,
Ali Baradaran

Baradaran
Junior Poster in Training
88 posts since Feb 2007
Reputation Points: 11
Solved Threads: 7
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You