HttpWebRequest and Set-Cookie header in response not parsed (WP7)

后端 未结 4 644
借酒劲吻你
借酒劲吻你 2021-01-06 02:41

I am trying to get the header \"Set-Cookie\" or access the cookie container, but the Set-Cookie header is not available. The cookie is in the response header, but it\'s not

4条回答
  •  臣服心动
    2021-01-06 02:55

    Is the cookie httponly? If so, you won't be able to see it, but if you use the same CookieContainer for your second request, the request will contain the cookie, even though your program won't be able to see it.

提交回复
热议问题