-
May 8th, 2013, 03:22 AM
#1
WinHttpAddRequestHeaders and Set-Cookie Funktion?
Hi,
i try to send/set cookie to the page before i get status/request of them with:
WinHttpAddRequestHeaders( hRequest, _T("Set-Cookie: cookietest=ct; expires=Thu, 13-Feb-2014 09:19:31 GMT; path=/;\r\n"), -1L, WINHTTP_ADDREQ_FLAG_ADD & WINHTTP_ADDREQ_FLAG_REPLACE);
but something goes wrong and i cant find what, does any one knows how to send cookies to server "before" request a web page?
Thanks in advance
break
-
May 8th, 2013, 04:10 AM
#2
Re: WinHttpAddRequestHeaders and Set-Cookie Funktion?
Originally Posted by break;
...
but something goes wrong and i cant find what, does any one knows how to send cookies to server "before" request a web page?
What exactly goes wrong? And what is your actual code? (please, use Code tags around code snippets!)
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|