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