|Manuals

CBrowserInfo::SetCookie Method

Description

Sets a cookie with the specified name, value, and expiration time.

Syntax

__stdcall HRESULT SetCookie(BSTR Name, BSTR Value, BSTR Expires);

Parameters

Parameter Type Description
Name BSTR The name of the cookie
Value BSTR The value to assign to the cookie
Expires BSTR The expiration time for the cookie

Return Value

Returns an HRESULT indicating success or failure of the operation.

See Also