Sign in Join
FPDoc Onlineexperiment

TCookie.HttpOnly property

Member of TCookiepublicIn unit HTTPDefs

HTTP-only access flag

Declaration

pascal
property HttpOnly: Boolean read FHttpOnly write FHttpOnly;

Description

HttpOnly when True prevents client-side scripts from accessing the cookie, reducing the risk of cross-site scripting (XSS) attacks.

See also

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