Table of Contents

Class CookieHelper

Namespace
Sisk.Core.Http
Assembly
Sisk.Core.dll

Provides a class that contains useful methods for working with cookies in HTTP responses.

public abstract class CookieHelper
Inheritance
CookieHelper
Derived
Inherited Members

Constructors

CookieHelper()

Methods

SetCookie(string, string)

Sets a cookie and sends it in the response to be set by the client.

SetCookie(string, string, DateTime?, TimeSpan?, string?, string?, bool?, bool?, string?)

Sets a cookie and sends it in the response to be set by the client.

SetCookieHeader(string, string)

Abstract method that calls the "Set-Cookie" header with the value of the created cookie.