Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineUnderstanding UsersOnlineUnderstanding UsersOnline
Previous
 
Next
New Post
7/20/2010 7:44 AM
 
Excuse my ignorance here but I'm testing usersonline locally. ie: localhost... I login with the same user account 5 times in 5 different browsers.
The number of rows in the db for that user never increases.

Is there something I'm not "getting"? where am I "missing the boat"?

Do I need to do this on my test server and login from 5 different machines? Surely not.
I'm led to believe that if a user simply closes their browser without logging off, their UsersOnline record will remain for a period.
If they login again right after closing their last browser, surely a new record for that user should be added?

Or does the module check of that user is already online and not add a new record?

Thanks
 
New Post
7/20/2010 7:56 AM
 
OK, so if the user is logging into the same portal and is directed the the same tab, that record cannot be repeated in the table...
Unless the creationdate is made to be part of the key, which I doubt can/should be done... :-)

So, any way to see how many times the same login is used to login a concurrent number of times?

Thanks
 
New Post
7/20/2010 9:29 AM
 
Lindsay, UsersOnline module simply displays content of OnlineUsers Table, which is maintained by DNN core framework. there is some latency (AFAIK 20 minutes by default), before an entry is deleted and gets re-added on next visit.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/20/2010 10:13 AM
 
Thanks Sebastia

I was led to believe the UsersOnline module added a record each time a user logged in.

Now, upon looking at the UsersOnline table, I see that is not possible as another field would be needed in the table.

So, this might be something for the core team to consider OR those responsible for that module.
Add another field - UsersOnlineID so that multiple records of a user logging in could be kept. It won't expand the data by that much AND it'd allow for a mechanism to restrict number of concurrent logins to 3 or 5 et

Here's a suggestion I got from DataSprings only to realize there are no multiple records of a user being online...BUT the "idea" is there and could work for some AND optionally implemented:

"First step is to enable DNN’s Users Online. Then you’ll want to use Dynamic Login to execute a SQL query to check in Users Online for simultaneous logins with the same credential. Now here’s the tricky part. Because DNN’s Users Online cycles every 20 minutes or so, we do not recommend the SQL to limit it to only 1 because you will have many situations where the user logsout and/or closes browser and then decides to log back in. In this case, because Users Online hasn’t cycled out yet, this legitimate user will not be allowed to log in again. Therefore, we recommend to set the simultaneous login counter to 3 or

Right now, I can do this but the counter can only be 1, thus I WOULD be annoying a few users!

Thanks
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineUnderstanding UsersOnlineUnderstanding UsersOnline


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out