listing user logged on

M

MWells

There's probably a way to enumerate active auth tokens, including any
username info you've embedded. I'd probably try something more database and
event-oriented.

If you have a user table, you could keep TmsLastLogin and TmsLastLogoff
columns. At login, you set TmsLastLogin and null TmsLastLogoff. At manual
logoff, you set TmsLastLogoff. I'm guessing you can capture an event when
the auth token expires on the server site (?), and add some code to Global.
Then just query your db anytime you want to get a sense of who's probably
using the site.

Remember that you will never really know; it can be quite some time before
user inactivity results in an actual logoff.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top