1

I'm using WinHTTP IWinHttpRequest object. I do POST to a https domain specyfying a request body with credentials. The site is expected to return cookies in HTTP response. The code works in Wininet - but I don't know how in WinHTTP to get cookies from the HTTP response?

Can anybody help?

Dominik

cubesoft
  • 3,448
  • 7
  • 49
  • 91

1 Answers1

1

I would start with the Cookie Handling in WinHTTP article on MSDN.

If you want to do things manually, here's an (ugly) VB code sample you can crib from: http://www.devnewsgroups.net/group/microsoft.public.exchange.development/topic58495.aspx)

Justin Grant
  • 44,807
  • 15
  • 124
  • 208