SessionOptions.Cookie SessionOptions.Cookie SessionOptions.Cookie Property


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 Microsoft.AspNetCore.Http.CookieBuilder Cookie { get; set; }
member this.Cookie : Microsoft.AspNetCore.Http.CookieBuilder with get, set
Public Property Cookie As CookieBuilder

Property Value

Applies to