SaaS CMS has officially launched! Learn more now.

Class SameSiteType

Defines SameSite attribute values.

Inheritance
System.Object
SameSiteType
Namespace: EPiServer.Framework.Web
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
public sealed class SameSiteType : Enum

Fields

Lax

The cookie can be sent with cross-site GET requests which cause top level navigation.

Declaration
public const SameSiteType Lax
Field Value
Type Description
SameSiteType

None

The cookie will be sent with all request. Requires SSL.

Declaration
public const SameSiteType None
Field Value
Type Description
SameSiteType

Strict

The cookie will not be sent in cross-site browsing context.

Declaration
public const SameSiteType Strict
Field Value
Type Description
SameSiteType

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods