title: IXMLHTTPRequest2 Set-Cookie Header with HttpOnly flag - Windows Phone 8
body: <p>I am working on a Win Phone 8 C++ application that is using IXMLHTTPRequest2 to perform HTTP requests. During one part of the request, I need to get out the Cookie values from a server that has the HttpOnly flag set.  </p>
  
  <p>Is there any way that I can get access to that header in this case?</p>
  
  <pre><code>WCHAR* pBuf = NULL;
  HRESULT hr = m_xhr-&gt;GetResponseHeader(L"Set-Cookie", &amp;pBuf);
  </code></pre>