Not sure if this is the right place to ask but . . .
I have a client who wants to have a "Who Is Online Now" section within their members area.
I know you can determine if a single user is logged on, but is it possible to loop through all members and determine if they are logged in ?
Currently the membership is only about 70, so in terms of overhead probably minimal impact to loop through them all.But I appreciate that as member numbers grow performance could be impacted quite a bit.
Membership provider already has support for that, and because umbraco membership provider derives from that, it's also supported in umbraco: GetNumberOfUsersOnline()
Count of Logged In Members
Hi there
Not sure if this is the right place to ask but . . .
I have a client who wants to have a "Who Is Online Now" section within their members area.
I know you can determine if a single user is logged on, but is it possible to loop through all members and determine if they are logged in ?
Currently the membership is only about 70, so in terms of overhead probably minimal impact to loop through them all.But I appreciate that as member numbers grow performance could be impacted quite a bit.
Thanks
Nigel
Membership provider already has support for that, and because umbraco membership provider derives from that, it's also supported in umbraco: GetNumberOfUsersOnline()
Hope this helps.
Regards,
/Dirk
Dirk - wicked - thanks for the lightning fast response.
Funnily enough I had just sent an email to my client telling them it might not be possible.
Being able to go back to them now and say it is possible will make me look good.
You da man !
Cheers
Nigel
is working on a reply...