Internet Direct (Indy)
Home
PreviousUpNext
TIdCookies.Add2 Method

Creates a Cookie class instance to be added to the Cookie collection.

Pascal
function Add2: TIdCookieRFC2965;

TIdCookieRFC2965 - Cookie class instance added to the collection.

Add2 is a TIdCookieRFC2965 function that creates a new instance of TIdCookieRFC2965 to be added to the Cookie collection. Add creates the Cookie class instance using the TIdCookies object instance as the owner of the collection item. 

Add2 is called from the TIdCookieManager.AddCookie2 method when a CookieName and Domain are added to an HTTP client as an TIdCookieRFC2965 class instance.

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.