If you have a login process, you could have a domain variable keeping track of users logged in.
 
When a user logs in,
 
<@assign domain$UserCount value="<@calc expr='@@domain$UserCount+1'">
 
when a user logs out or times out (you can set a timeout trigger file):
 
<@assign domain$UserCount value="<@calc expr='@@domain$UserCount-1'">
 
you could also get fancy and maybe keep a table of the userref's of all logged in users and some of their info so that you had more detailed info about who was logged in.
 
hope this helps,
Atrix
----- Original Message -----
Sent: Friday, February 28, 2003 10:18 PM
Subject: Witango-Talk: Users Logged In

Hello all,
 
Is there a  way to find out the number of users that are (technically speaking) logged in?
What I need to find out is if there are users that are using the system at the time when I need to take the system down.
It would be nice to be able find out how many users are logged in, who and for how long since there last request.
 
I know I can do this programmatically, but it means basically, every page will be affected.
Instead I assume it should be a way to interrogate the server about the status of the vars (the server knows this info because it purges the vars at timeout).
 
Any help is greatly appreciated.
 
Mike.
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to