System.Web.Security.Roles.CookieName Property

Gets the name of the cookie where role names are cached.

Syntax

public static string CookieName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can specify the name of the cookie where roles are cached for your application by setting the cookieName attribute in the Web.config file for your ASP.NET application. This is useful when you want to uniquely identify a cookie for your application or when a cookie is shared across multiple applications, such as a domain cookie.

Requirements

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