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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0IS there any limit on the No of Roles a user can Have ? DNN 4.5.2IS there any limit on the No of Roles a user can Have ? DNN 4.5.2
Previous
 
Next
New Post
6/12/2008 9:50 AM
 

Hi,

Is there any limit on the no of roles a user can have in DNN?

I am using DNN 4.5.2 framework andhaving this issue,  a particular user has aroun 73 Roles associated.  After adding few more roles ( making it ti around 76 Roles) , the user is unable to log into the system.

The Exception logged is "Inlvalid value for 'encrypted ticket parameter' .

I have  googled and i find mostly that this could be because of cookie issue , i tried clearing all cache , cookies and all temp file on the user machine and treid accesing it still failed.

 how ever if i  delet some roles associated to the user ( it made it come till 73 ) then the user is able to log in , i also checked if its becuase of a specific name in the Role , but it was not so.

Can any one guide me on what could be the issue.

Thanks and Regards,

Raja Tirumala Rao G.

 
New Post
6/12/2008 10:09 AM
 

the limit for number of roles is actually the limit of the maximum size of the cookie where roles are stored. Typically cookies cannot be more than 2-4k (depending on browser), so if you have a large number of roles then it's encrypted size would be more than the maximum size of the cookie, meaning the text get's truncated and hence you get an invalid value message. There is no way to work around this without refactoring the roles management to not use cookies, and seeing as this effects so few users (most sites have users with only one or two roles), it's unlikely to be changed, sorry.

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/12/2008 11:27 AM
 

Thank you much.

We are asking the specfic users to have more than 1 account for themselves and the roles be split betweet the accounts they manage.

Regards,

 

 
New Post
11/11/2008 8:34 AM
 

Is this 'cookie' based roles system being changed in DNN 5?  The site I'm developing will literally have thousands of roles.

Could it be changed to use the provider pattern where we can supply our own provider?

 
New Post
11/11/2008 10:01 AM
 

no, there are no changes implemented or planned (AFAIK) for handling roles.

IMHO a site with thousands of roles needs a redign of concept.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0IS there any limit on the No of Roles a user can Have ? DNN 4.5.2IS there any limit on the No of Roles a user can Have ? DNN 4.5.2


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