Provides access to server Cookie collection items by name.
property Cookie [const AName: string]: TIdCookieRFC2109;
Cookie is a read-only TIdCookieRFC2109 property that provides access to server Cookies in the collection using the name specified in AName. TIdServerCookies calls GetCookieIndex, when using the read access specifier for Cookie, to determine the position of the Cookie having the specified CookieName. Cookie can return Nil when a Cookie cannot be located in the collection having the specified name value.
Use CookieListByDomain to limit access to Cookie collection items having a specified Domain value. Use Items to access Cookie collection items by their integer position in the container.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.