Sisk

Property

HttpHeaderCollection.SetCookie

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

SetCookie #

Gets or sets the value of the HTTP Set-Cookie header.

Used to send cookies from the server to the client, allowing the server to store state information on the client.

C#
public string? SetCookie { get; set; }

Property Value #

string?

Remarks #

Note: setting this property, it will override all previous Set-Cookie headers. Use the Add method to add more than one Set-Cookie header or use the SetCookie method.

Type to search the documentation and the API reference.