资料来源: http://www.cryer.co.uk/brian/delphi/twebbrowser/twebbrowser_oleobject.htm#OleObject.Document.cookie WebBrowser.OleObject.Document.cookie Returns a string holding all browser cookies - these are the cookies stored locally and not server side cookies.Document equivalent:var document: IHTMLDocument2; cookies: String; begin document := WebBrowser.Document as IHTMLDocument2; if Assigned(document) then cookies := document.cookie; Cookies are represented in the string in the form:name = value
资料来源:
http://www.cryer.co.uk/brian/delphi/twebbrowser/twebbrowser_oleobject.htm#OleObject.Document.cookie
WebBrowser.OleObject.Document.cookie
Returns a string holding all browser cookies - these are the cookies stored locally and not server side cookies.Document equivalent:var
document: IHTMLDocument2;
cookies: String;
begin
document := WebBrowser.Document as IHTMLDocument2;
if Assigned(document) then
cookies := document.cookie;
Cookies are represented in the string in the form:name = value