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

Indicates if the HTTP client accepts Cookies in response headers.

property AllowCookies: Boolean;

AllowCookies is a Boolean property that 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 during initialization of the component.

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