Sign in Join
FPDoc Onlineexperiment

TSameSite enumeration

In unit HTTPDefs

Cookie SameSite attribute values

Declaration

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

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

Values

ssEmptyNo SameSite attribute
ssNoneSend with all cross-site requests
ssStrictSend only with same-site requests
ssLaxSend with top-level navigation

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.