Retrieves the string value of a cookie, which is a small piece of information stored by the browser.
Syntax
HRESULT get_cookie( BSTR *p );
Parameters
- p
- Address of a string variable that receives the cookie.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the string value of a cookie, which is a small piece of information stored by the browser.
Syntax
HRESULT put_cookie( BSTR v );
Parameters
- v
- String that specifies the cookie.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0