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

TCookie.HttpOnly

HTTP-only access flag

Declaration

Source position: httpdefs.pp line 192

public property TCookie.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

Secure

  

Cookie security flag


Documentation generated on: Jan 16 2026