Author: nguyenhthai | Posted on: 2/2/2010 4:30:59 PM | Views : 289

As you guy can see the title, it relates with isOnline. I have searched every post in this forum to know how to deal with isOnline but I still stuck. Let's go to the main problem. I log in into the account, so the isOnline will be true. That's perfect. Set the userIsOnlineTimeWindow by default (15 mins). Then I log out. Base on MSDN, the isOnline is calculated by current time - userIsOnlineTimeWindow which is earlier LastActivityDate. Let say I log in at 2:30:00, wait until 2:35:00 to log out, so current time is 2:35:00, and then subtract 15, we get 2:20:00. The result is earlier than LastActivityDate which is 2:35:00, but why the isOnline still true? So how we can fix that?
...

Go to the complete details ...