共用方式為


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

public string CookieName { get; set; }
public:
property String^ CookieName {
    String^ get();
    void set(String^ value);
}
member CookieName : string with get, set
Public Property CookieName As String

Property Value

Type: System.String

Returns String.

See Also

CookieAuthenticationOptions Class
Microsoft.Owin.Security.Cookies Namespace

Return to top