tags:

views:

19

answers:

1

I understand that I could show online users using ajax. For example, I could detect and display if the user has been online or offline for last 5 minutes or 15 minutes etc.

How do I filter the users by online vs offline?

Or How do I filter the users by offline since 5 minutes, 10 minutes, 15 minutes etc etc.??

Since this logic will be in ajax, can i filter against the ajax results?

+1  A: 

Use the LastActivityDate, this will show you who has been online. You can then query at will using ajax to a web method.

Dustin Laine
+1 - so long as the OP is using a Membership Provider
Russ Cam
Good point, "never make assumptions" :)
Dustin Laine