title: CInternetSession::SetCookie Example
body: <p>The MSDN documentation for CInternetSession::SetCookie defers to the <a href="http://msdn.microsoft.com/en-us/library/aa385107.aspx" rel="nofollow">InternetSetCookie Win32 message</a>, but I had to keep digging to find an example in <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa385326(v=vs.85).aspx" rel="nofollow">Managing Cookies under WinINet</a>. I think example code for using this is lacking and would be useful to have.</p>