May 8th, 2013, 04:22 AM
WinHttpAddRequestHeaders and Set-Cookie Funktion?
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
Click Here to Expand Forum to Full Width