procedure TForm1.IdCookieManager1NewCookie(ASender: TObject;
ACookie: TIdCookieRFC2109; var VAccept: Boolean);
begin
mycookie:=ACookie.ClientCookie;
end;procedure TForm1.Button1Click(Sender: TObject);
begin
idhttp1.Get('http://www.163.com/');
cookies:='Cookie:'+mycookie;
idhttp1.Request.CustomHeaders.Text:=cookies;
end;idhttp get 访问链接 增加cooks 如何出现这样的情况??Undeclared identifier: 'TIdCookieRFC2109'
ACookie: TIdCookieRFC2109; var VAccept: Boolean);
begin
mycookie:=ACookie.ClientCookie;
end;procedure TForm1.Button1Click(Sender: TObject);
begin
idhttp1.Get('http://www.163.com/');
cookies:='Cookie:'+mycookie;
idhttp1.Request.CustomHeaders.Text:=cookies;
end;idhttp get 访问链接 增加cooks 如何出现这样的情况??Undeclared identifier: 'TIdCookieRFC2109'
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货