Topic Path: Symbol Reference > Classes > TIdCookieRFC2965 Class > TIdCookieRFC2965 Properties > Discard Property
ContentsIndexHome
PreviousUpNext
TIdCookieRFC2965.Discard Property

Indicates that a Cookie should be discarded after use.

property Discard: Boolean;

Discard is a Boolean property that represents an optional Cookie attribute that indicates how the Cookie is handled during Cookie management. When Discard is True, the HTTP client should unconditionally discard the Cookie when the user agent terminates. 

Use MaxAge or Expires to control Cookie longevity based on dates or duration.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.