Internet Direct (Indy) Version 9.0.1 Beta
TIdCookieRFC2109.MaxAge
Represents the longevity of the Cookie.

property MaxAge: Int64;
Description
MaxAge is a Int64 property that represents the optional Cookie attibute that defines the lifetime of the Cookie in seconds. The MaxAge value is a decimal non-negative integer.

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.