[rt-users] Looking for solutions.. Suggestions..
RT2 Troubles
rt2trouble at morben.ca
Thu Feb 14 17:20:01 EST 2002
Hmm.. Each authenticated page could write the users name as a file to an
"online" directory no matter what the action is. Every 30 mins a cron job
deletes the files that are too old and in each page/update there's a script
that looks for the files and displays the list of people online with the last
update time expressed as an idle value. Ofcourse the logoff option would
delete the person's file immediately.
I have lots of ideas but I'm very much out of my element without PHP ability.
I really need to find a good tutorial on Mason that will get me past the
sadly confused state.
On February 14, 2002 12:43 pm, you wrote:
> |+ - Making a list of who is logged into the RT web pages and perhaps how
> | long + they have been idle. This would be really handy when
> | collaborating with + multiple people on a specific task. I could also
> | use it to tell me when it's + safe to restart the server. Even better
> | would be a calendar that lets us + indicate who is scheduled to work
> | and who is the primary point of contact at + any given moment. We could
> | add the "whoson" info to that calendar page and + tie it all in
> | together.
>
> I asked about this awhile ago, and after reading looking over the code,
> I'm not sure what an 'easy way' to approach this would be.
>
> I guess you could have RT either A) write to a file when a user logs in,
> and has their login time. When they logout, update this file.
>
> But the problem becomes when cookies and what-not expire, and
> what-not. I know within my origization, not many people actually use the
> 'logoff' feature, they either A) just shut down their computers, or
> B) just close the browser all-together. How could you then track these
> users?
>
> Option B would be to have another table in the database, but this still
> has the same problems as option A>
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
More information about the rt-users
mailing list