Property CookieDomain
CookieDomain
Gets or sets the domain that the session cookie applies to. Leave null (the default) to scope the cookie to the host that issued
it. Set to a parent domain (e.g. ".example.com") to share the session across subdomains — in that case the same value must be configured on
every application that participates in the shared session, and they must all share the same data-protection key ring so the encrypted cookie can be
read across hosts.
Declaration
public string? CookieDomain { get; set; }
Property Value
| Type | Description |
|---|---|
| string |