RroleManager Element (ASP.NET Settings Schema)

RoleManager Element (ASP.NET Settings Schema):

RoleManager Element :



<roleManager
    cacheRolesInCookie="true|false"
    cookieName="name"
    cookiePath="/"
    cookieProtection="All|Encryption|Validation|None"
    cookieRequireSSL="true|false "
    cookieSlidingExpiration="true|false "
    cookieTimeout="number of minutes"
    createPersistentCookie="true|false"
    defaultProvider="provider name"
    domain="cookie domain">
    enabled="true|false"
    maxCachedResults="maximum number of role names cached"
    <providers>...</providers>
</roleManager>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute
Description
cacheRolesInCookie
Optional Boolean attribute.
Specifies that when validating that a user is in a particular role, the cookie is checked before using the role provider to check the list of roles at the data source. If true, a list of role names in a cookie is cached for the current user; otherwise, false.
The default is false.
cookieName
Optional String attribute.
Specifies the name of the cookie in which role names are stored.
The default is ".ASPXROLES".

Comments

  1. Nice update. I am totally not aware about this update. I use asp.net hosting for my business from myasp.net,which is an online hosting site provides the necessary physical and technical support to enable you to reliably complete your valuable and critical Web-based operations. Thank a lot for sharing with us and keep blogging like this.

    ReplyDelete

Post a Comment

Popular posts from this blog