Internet Direct (Indy)
Home
PreviousUpNext
TIdCookieRFC2965.Discard Property

Indicates that a Cookie should be discarded after use.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.