By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,843 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

listing user logged on

P: n/a
Whats the easiest way to list USERS that are logged on to ur site?
Thx
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.
"Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote in message
news:F0**********************************@microsof t.com...
Whats the easiest way to list USERS that are logged on to ur site?
Thx

Nov 19 '05 #2

P: n/a
Thx for the hinting...
Taught in that direction too.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.