Disabling multiple logins on one 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.
5/21/2008 1:28:50 AM
Gravatar
Total Posts 18

Disabling multiple logins on one account

Hi Joe,

Is there a way to disallow multiple logins on one account in mojoPortal?

Thanks,

Sherwin

5/21/2008 8:14:51 AM
Gravatar
Total Posts 18439

Re: Disabling multiple logins on one account

Hi Sherwin,

No there is not currently a way to do it and it would be challenging to implement given the stateless nature of the web.

Best,

Joe

5/22/2008 7:02:35 AM
Gravatar
Total Posts 18

Re: Disabling multiple logins on one account

Hi Joe,

I just found a neat solution that seemed to work without too much coding:  http://www.geekzilla.co.uk/View733B7360-8C6C-4256-8EDC-026333750271.htm

Hope you find it useful,

Sherwin

5/22/2008 11:51:39 AM
Gravatar
Total Posts 18439

Re: Disabling multiple logins on one account

Hi Sherwin,

I will look into adding this functionality using an HttpModule. I will leave it disabled by default as this is not needed in most cases and could lead t high server memory usage storing these variables in session and in cache.

Best,

Joe

5/22/2008 12:59:15 PM
Gravatar
Total Posts 18439

Re: Disabling multiple logins on one account

Hi Sherwin,

I implemented a config option for this named ForceSingleSessionPerUser, I put the logic in mojoBasePage because session is not readily available from an HttpModule.

This will be in svn trunk by tonight.

Thanks,

Joe

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