User's roles are stored in an encrypted browser cookie - Can it be changed ?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/2/2020 2:47:35 PM
Gravatar
Total Posts 4

User's roles are stored in an encrypted browser cookie - Can it be changed ?

Hello All

from here: https://www.mojoportal.com/docs/roles-permissions

"You can create as many roles as you'd like, but each user should be in no more than a handful of roles. A user's roles are stored in an encrypted browser cookie, and a cookie can only hold so much data. So if a user is a member of too many roles it can overflow the capacity of the cookie."

In my case, there will be many roles for every user.

Is there an easy way to change the storage from the browser to let say Session?

Thank you.

 

6/8/2020 3:45:37 PM
Gravatar
Total Posts 2239

Re: User's roles are stored in an encrypted browser cookie - Can it be changed ?

Hi Serge,

We've never actually run into any problems with this. The role provider doesn't use sessions, just cookies. We'll take a look at it though and see if we can make some adjustments. Before we do that though, we'll do some use case testing to see how many roles we can add a user to before things go haywire. 

Thanks,
Joe

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