[rt-users] currently connected users list

Schultz, Eric ESchultz at corp.untd.com
Tue Mar 27 12:54:31 EDT 2007


> 
> >From time to time, I may need to contact each of our users 
> logged on the Web interface - for maintenance reasons.
> 
> Is there a command allowing to list every currently logged user ?

No, and there really isn't a good way to tell, either, unless you are
agressive about harvesting stale sessions.  That is, the simplest way to
tell who is logged on from the application perspective would be to do a
select on the session table from the database.  Problem is, though,
people rarely logout, and so their old session hangs around.  I'm not
even sure a session row is removed on logout.

A simpler solution may be to have a maintenance message displayed at the
top of the page when you wish to perform maintenance.  It would have to
be in a file that is checked every time the home page is loaded, to
avoid Mason's caching.  I believe someone else recently did something
similar on this list?  Only they actually replaced the entire page with
a "sorry, we're doing maintenance now" page, IIRC.

Eric Schultz
United Online



More information about the rt-users mailing list