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:

Recommended Answers

All 2 Replies

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.