Internet Direct (Indy) Version 9.0.2 Beta
|
procedure AddCookie2(ACookie: String; AHost: String);
AddCookie2 checks that the Cookie is valid for the Domain specified in AHost prior to signalling the OnNewCookie event handler. When AHost is not a valid Domain, or the OnNewCookie event handler indicates that the Cookie has been rejected, the Cookie class instance is removed from the CookieCollection and freed.