Skip to content

TCookie.HttpOnly

HTTP-only access flag

Declaration

Source position: httpdefs.pp line 200

public property HttpOnly: Boolean;

Description

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

See also

Name Description
Secure Cookie security flag