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