在WebBrowser里使用Referer

procedure NavRef(url,ref:string,wbWeb:twebbrowser);
var
Flags, Headers, TargetFrameName, PostData: OLEVariant;
begin
Flags := '1';
TargetFrameName := '';
PostData := '';
Headers := 'Referer: ' + Ref ;
wbWeb.Navigate(Url, Flags, TargetFrameName, PostData, Headers);
end;

posted @ 2008-07-10 19:24  流星无语  阅读(368)  评论(0编辑  收藏  举报