Topic Path: Symbol Reference > Classes > TIdHTTP Class > TIdHTTP Properties > AllowCookies Property
ContentsIndexHome
PreviousUpNext
TIdHTTP.AllowCookies Property

Indicates if the HTTP client accepts Cookies in response headers.

property AllowCookies: Boolean;

AllowCookies is a published Boolean property in TIdHTTP, and indicates if the HTTP client allows use of persistent state information using TIdCookie instances handled by CookieManager. AllowCookies is used when an HTTP client retrieves headers for an HTTP Response, and processes Response headers and cookie values. 

When AllowCookies is True, the HTTP client will ensure that CookieManager is instantiated prior to adding any TIdCookieRFC2109 or TIdCookieRFC2965 cookie instances detected in Response headers. 

The default value for AllowCookies is True, as assigned in the Create constructor.

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