HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0OnlineUsers vs. Membership.IsOnLineOnlineUsers vs. Membership.IsOnLine
Previous
 
Next
New Post
6/12/2007 5:20 PM
 

Hi,

 

It seems that the OnlineUsers feature is not working well at all on my site.

The dnn_UsersOnline table simply did not get updated correctly.

Today I found this blog post:

http://www.andreas-kraus.net/blog/update-lastactivitydate-in-aspnet_users-with-cookie-authentication/

Which caused me to believe this was the problem I had on my site, since I allow using the "remember my" checkbox.

 

However, it is still not working on all installations, although I use the same settings everywhere, in the Host Settings and in web.config.

 

Yet, if for the same user that is logged on I call User.Membership.IsOnLine (from the code) I get true!

This means the aspnet mebership can tell if the user is online or not, and it is also indicated in the Users Control Panel.

 

But when I tried to follow the SQL logic with the help of the SQL Profiler, I wasn't able to understand how to determine that using the tables and SP.

 

Can anyone explain how this works, and what is the best way to make the OnlineUsers feature work?

I am using DNN 4.3.5 but I think it's the same for 4.5.3

 

Thx!

 

Ofer

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0OnlineUsers vs. Membership.IsOnLineOnlineUsers vs. Membership.IsOnLine


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.