1

Are there any known issues with SessionManager.IsUserOnline() ?

We got following code on a class and sometimes it returns false eventhough the user is logged in.

bool userIsOnline = SessionManager.IsUserOnline(SiteContext.CurrentSiteName, 100, true);

It only happens sometimes so pretty hard to debug what's going on.

chamara
  • 12,649
  • 32
  • 134
  • 210

1 Answers1

1

You should not use SessionManager. Use MembershipContext instead.

Brenden Kehren
  • 5,919
  • 16
  • 27