System.Web.Configuration.RoleManagerSection.CreatePersistentCookie Property

Indicates whether a session-based cookie or a persistent cookie is used to cache role names.

Syntax

[System.Configuration.ConfigurationProperty("createPersistentCookie", DefaultValue=false)]
public bool CreatePersistentCookie { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The RoleManagerSection.CreatePersistentCookie property indicates whether or not the cookie that is used to cache role names should be a session-based cookie, which means that the cookie is lost when the browser is closed, or a persistent cookie, which means that the cookie is available across browser sessions. The default is false, which indicates that a session-based cookie is used to cache role names.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0