Unit 'HTTPDefs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TSameSite

Cookie SameSite attribute values

Declaration

Source position: httpdefs.pp line 165

type TSameSite = (

  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

TCookie

  

HTTP cookie implementation


Documentation generated on: Jan 16 2026