Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
static BOOL SetCookie( LPCSTR pstrUrl**, LPCTSTR** pstrCookieName**, LPCTSTR** pstrCookieData );
Return Value
Returns TRUE if successful, or FALSE otherwise. To get the specific error code, call GetLastError.
Parameters
pstrUrl
A pointer to a null-terminated string that specifies the URL for which the cookie should be set.
pstrCookieName
A pointer to a string containing the name of the cookie.
pstrCookieData
A pointer to a string containing the actual string data to associate with the URL.
Remarks
This member function implements the behavior of the Win32 message , as described in the Platform SDK.
See Also CInternetSession::GetCookieLength, CInternetSession::GetCookie