SessionOptions.Cookie Property

Definition

Determines the settings used to create the cookie.

Name defaults to CookieName. Path defaults to CookiePath. SameSite defaults to Lax. HttpOnly defaults to trueIsEssential defaults to false

public:
 property Microsoft::AspNetCore::Http::CookieBuilder ^ Cookie { Microsoft::AspNetCore::Http::CookieBuilder ^ get(); void set(Microsoft::AspNetCore::Http::CookieBuilder ^ value); };
public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get; set; }
member this.Cookie : Microsoft.AspNetCore.Http.CookieBuilder with get, set
Public Property Cookie As CookieBuilder

Property Value

CookieBuilder

Applies to