HttpAddResponseHeaderSetCookieTag
Appends an ASCIIZ string containing a caller supplied cookie to an HTTP Response Header.
#include <httpexp.h>
int HttpAddResponseHeaderSetCookieTag (
HINTERNET hndl,
void *pCookie,
UINT32 szCookie);
If successful, returns 0. Otherwise, returns a nonzero error code.
|
Decimal |
Name |
Description |
|---|---|---|
|
168 |
ERR_ACCESS_DENIED |
The HttpSendResponseHeader function has already been called. |
|
255 |
ERR_BAD_PARAMETER |
Invalid handle. |