Skip to content

TSameSite

Cookie SameSite attribute values

Declaration

Source position: httpdefs.pp line 168

type
  TSameSite = (ssEmpty,ssNone,ssStrict,ssLax)

Values

Value Description
ssEmpty No SameSite attribute
ssNone Send with all cross-site requests
ssStrict Send only with same-site requests
ssLax Send with top-level navigation

Description

TSameSite defines the possible values for the SameSite cookie attribute, which controls when cookies are sent with cross-site requests.

ssEmpty
No SameSite attribute specified
ssNone
Cookie sent with all cross-site requests
ssStrict
Cookie only sent with same-site requests
ssLax
Cookie sent with top-level navigation cross-site requests

See also

Name Description
TCookie HTTP cookie implementation