Issue on ForceSingleSessionPerUser setting

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.
3/3/2014 1:09:01 AM
Gravatar
Total Posts 5

Issue on ForceSingleSessionPerUser setting

Hi guys,

I had a requirement to allow only single user login for the same account. From my searching on the forum, I try to implementing what was said from below discussion

http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=10707~-1

However, after I adding this to the user.config file, the system only allow for single user to login at one time. Meaning, if login to my site using user1 and I open another browser to login using user2, the user1 session will terminated and kick out from the system. 

From what Joe was said on the disscussion, it will have a side effects. Is it this is the side effects or there is something that I need to do to make it works.

 

Thanks,

 

3/3/2014 7:43:11 AM
Gravatar
Total Posts 18444

Re: Issue on ForceSingleSessionPerUser setting

As far as I know if by another browser you mean one session in IE and one in Chrome or Firefox that "should" work with 2 different user accounts, it will never work with 2 browser tabs/windows from the same browser.

But forcing a single session per user is a "your mileage may vary" kind of thing, if it works for you great, if not it isn't really something we provide support for.

3/3/2014 8:54:10 AM
Gravatar
Total Posts 5

Re: Issue on ForceSingleSessionPerUser setting

Hi Joe, Thanks for your prompt response. Yes, you are right, even though I try to open 2 browser with 2 different accounts, I had no luck with the forcing a single session per user kind of thing. The setting only allow single user to login to the system and will kill others user session. May I know, why you are not consider to implementing this functionality in mojoportal? Or there are a better way to do it? Thanks,
3/3/2014 9:20:29 AM
Gravatar
Total Posts 18444

Re: Issue on ForceSingleSessionPerUser setting

Someone else who needed this implemented it and as far as I know it works but maybe not on 1 machine, 2 users on 2 machines should work fine.

If you or someone else needs this and is not satisfied with how it works you can consider implementing the needed changes to make it work better and submit those changes to me for consideration to include them. If the changes require more than about 10 lines of code then I would also need a contributor agreement on file.

3/3/2014 8:16:48 PM
Gravatar
Total Posts 5

Re: Issue on ForceSingleSessionPerUser setting

Hi Joe,

Thanks for the info and I will follow your guidelines.

Keep up the good work.

 

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