|
Posted by Rik on 12/28/06 06:58
hughie wrote:
>> poll the db for active users.
>
> aha, you have any code for that?
Google jpmaster77 login script.
>> perhaps your DB could have a meta-data table/row
>> update an "active_num_users" each time someone logs in/out
>> either a straight-forward increment/decrement or actually test for
>> "active/non-idle" users.
>> of course to track that, you'd need to also store not-only when
>> someone logs in, but their last activity (ie, each time they load a
>> page)
>
> exactly..but I was hoping to find a way to do that from some uber
> session or something.
> It's starting to look like going the db table way is probably best.
Probably the fastest & most reliable solution indeed.
--
Rik Wasmus
[Back to original message]
|