Indy 9
|
TIdCookieRFC2109 = class(TIdNetscapeCookie)
TIdCookieRFC2109 extends TIdNetscapeCookie by adding extended Cookie headers, and allows additional Cookie attributes to be indicated in the MaxAge, Comment, and Version properties.
TIdCookieRFC2109 differs from the original Netscape Cookie proposal, and uses MaxAge to represent the longevity of Cookie data.
property Comment: String;
property MaxAge: Int64;
When MaxAge seconds elapse, the client should discard the Cookie. A value of zero means the cookie should be discarded immediately. When MaxAge contains the value GFMaxAge, a value has not been determined or assigned to the MaxAge property.
Changing the value of the inherited Expires property will result in the MaxAge property being recalculated using the date value in Expires.
property Version: String;
constructor Create(ACollection: TCollection); override;