locked
Set cookies to WebView Control RRS feed

  • Question

  • I have cookies which taken from HttpWebRequest and I need to set these cookies to WebView control to another page.

    How can I transfer these cookie to WebView control in windows 8.1 Store app?

    Monday, February 17, 2014 1:11 PM

Answers

All replies

  • If you use the Windows.Web.Http HttpClient, the cookies should be shared correctly -- in fact, that's one of the big advantages to the Windows.Web.Http HttpClient over the System.Net HTTP stacks.

    The //build/ 2013 presentation goes into more detail: http://channel9.msdn.com/Events/Build/2013/4-092

    And we have an API poster that shows how the HTTP classes interrelate: http://www.microsoft.com/en-us/download/details.aspx?id=40018

     


    Network Developer Experience Team (Microsoft)

    • Marked as answer by Anne Jing Monday, February 24, 2014 7:51 AM
    Monday, February 17, 2014 6:47 PM
  • This is terrific for a Windows 8 store app, but is this namespace available in a PCL that I can reuse across Win Phone, and Xamarin projects?
    Monday, March 10, 2014 1:19 AM