Unit 'IdCookie' Package
[Overview][Types][Classes][Procedures and functions][Index] [#pl_indy]

TIdCookie

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: IdCookie.pas line 84

type TIdCookie = class(TCollectionItem)

protected

  FDomain: string;

  

  FExpires: TDateTime;

  

  FHttpOnly: Boolean;

  

  FName: string;

  

  FPath: string;

  

  FSecure: Boolean;

  

  FValue: string;

  

  FCreatedAt: TDateTime;

  

  FHostOnly: Boolean;

  

  FLastAccessed: TDateTime;

  

  FPersistent: Boolean;

  

  FSameSite: string;

  

  function GetIsExpired;

  

  function GetServerCookie; virtual;

  

  function GetClientCookie; virtual;

  

  function GetMaxAge;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Assign(); override;

  

  function IsAllowed(); virtual;

  

  function ParseClientCookie(); virtual;

  

  function ParseServerCookie(); virtual;

  

  property ClientCookie: string; [r]

  

  property CookieName: string; [rw]

  

  property CookieText: string; [r]

  

  property Domain: string; [rw]

  

  property Expires: TDateTime; [rw]

  

  property HttpOnly: Boolean; [rw]

  

  property Path: string; [rw]

  

  property Secure: Boolean; [rw]

  

  property ServerCookie: string; [r]

  

  property Value: string; [rw]

  

  property MaxAge: Int64; [r]

  

  property CreatedAt: TDateTime; [rw]

  

  property IsExpired: Boolean; [r]

  

  property HostOnly: Boolean; [rw]

  

  property LastAccessed: TDateTime; [rw]

  

  property Persistent: Boolean; [rw]

  

  property SameSite: string; [rw]

  

end;

Inheritance

TIdCookie

  

|

TObject



CT Web help

CodeTyphon Studio