04-05-2009, 07:29 PM
Try to add INTERNET_FLAG_NO_COOKIES in 5-th argument of Http.Post.
To send a cookie, add "Cookie:" header in 4-th argument.
To get a received cookie, look for "Set-cookie:" header in 6-th argument.
Not tested.
Read "HTTP Cookies" topic in MSDN library.
Quote:Does not automatically add cookie headers to requests, and does not automatically add returned cookies to the cookie database.
To send a cookie, add "Cookie:" header in 4-th argument.
To get a received cookie, look for "Set-cookie:" header in 6-th argument.
Not tested.
Read "HTTP Cookies" topic in MSDN library.
