Hello binazhar,
Welcome
to the Developing Universal Windows apps forum!
Please read the sticky posts, especially the
Guide to posting: subject line tags and
Known Issues for Windows 10 SDK and Tools
And please remember to add tag to title.
HTTPOnly is provided by the server when it is setting a cookie to indicate that the cookie should not be visible to client side script, which includes our C# code to fetch the cookies through the CookieManager. The client will not send it back to the server
when it resends the cookie to the server on subsequent requests.
You would have to manually add the missing cookie to the CookieContainer before next request.
The code as the following:
Cookie cookie = new Cookie( "Name","value");
cookie.Secure = true;
cookie.Domain = "www.xxxxxxx.com";
cookieContainer.Add(cookie);
Best Regards,
Xavier Eoro