Concurrent online users sharing the same account

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
8/2/2012 4:52:02 PM
Gravatar
Total Posts 3

Concurrent online users sharing the same account

Hi,

Is it possible to block the login process if the same user session is already currently in use by someone else on another pc? We have users that are sharing their accounts (user id and password), but we don't want them to be online in the same time using this account.

Thanks,

 

 

8/3/2012 2:38:20 PM
Gravatar
Total Posts 18439

Re: Concurrent online users sharing the same account

Hi,

Several years ago someone implemented a way to force a single session per user, it is disabled by default and I have not used it myself so I'm not 100% sure whether there are any side effects or problems enabling it, but you can give it a try by adding this to your user.config file:

<add key="ForceSingleSessionPerUser" value="true" />

then touch web.config to make it recycle the app and reload settings.

Hope that helps,

Joe

10/29/2012 9:17:14 PM
Gravatar
Total Posts 25

Re: Concurrent online users sharing the same account

Hi Joe,

I had a user request to add this restriction.  I tried putting in the key and recycled the app, but it doesn't work.  Is there something else I need to change in web.config or user.config?

Thanks

10/29/2012 11:01:29 PM
Gravatar
Total Posts 25

Re: Concurrent online users sharing the same account

Hi,

I managed to fix the issue.  Originally, the security settings on all the pages were set to Authenticated Users since it's a closed site. What I had to do was to also set the security settings of each of the features/modules from All Users to Authenticated Users.

Thanks

You must sign in to post in the forums. This thread is closed to new posts.