CookieAuthenticationOptions.CookieName Property

Determines the cookie name used to persist the identity. The default value is ".AspNet.Cookies". This value should be changed if you change the name of the AuthenticationType, especially if your system uses the cookie authentication middleware multiple times.

Namespace:  Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

Syntax

'Declaration
Public Property CookieName As String 
    Get 
    Set
'Usage
Dim instance As CookieAuthenticationOptions 
Dim value As String 

value = instance.CookieName

instance.CookieName = value
public string CookieName { get; set; }
public:
property String^ CookieName {
    String^ get ();
    void set (String^ value);
}
member CookieName : string with get, set
function get CookieName () : String 
function set CookieName (value : String)

Property Value

Type: System.String
Returns String.

See Also

Reference

CookieAuthenticationOptions Class

Microsoft.Owin.Security.Cookies Namespace