[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
HTTP cookie implementation
Source position: httpdefs.pp line 167
type TCookie = class(TCollectionItem) |
||
public |
||
constructor Create(); override; |
|
Creates a new cookie instance |
procedure Assign(); override; |
|
Assigns values from another persistent object |
procedure Expire; |
|
Marks the cookie as expired |
property Name: string; [rw] |
|
Cookie name |
property Value: string; [rw] |
|
Cookie value |
property Domain: string; [rw] |
|
Cookie domain restriction |
property Path: string; [rw] |
|
Path attribute of the cookie |
|
Expiration date and time of the cookie |
|
|
Maximum age of the cookie in seconds |
|
property Secure: Boolean; [rw] |
|
Cookie security flag |
property HttpOnly: Boolean; [rw] |
|
HTTP-only access flag |
|
SameSite attribute of the cookie |
|
property Partitioned: Boolean; [rw] |
|
Partitioned attribute of the cookie |
property AsString: string; [r] |
|
String representation of the cookie |
end; |
|
HTTP cookie implementation |
|
| | | ||
| | | ||
| | | ||
TCookie represents an HTTP cookie with all its attributes. It provides properties for name, value, domain, path, expiration, security settings, and other cookie attributes.
|
Collection of HTTP cookies |
|
|
Cookie SameSite attribute values |