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 7: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 8: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

 
New Post
6/12/2008 9: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 5: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 7: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   European Network of DotNetNuke Professionals

 
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


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Try An Online Demo
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.