As long as you have sessions enabled, it is quite easy.
In your global.asa file:
PHP Code:
Sub Application_onStart
Application("Count") = 0
End Sub
Sub Session_onStart
Application("Count") = Application("Count") + 1
end sub
Sub Sesion_onEnd
Application("Count") = Applcation("Count") - 1
end Sub
you can then get the value of the people connected by reading the Application("Count") variable. This of course assumes that to access any part of your site you have to log in.
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --