# WKWebView, Cookies, and You

**URL:** <https://forum.ionicframework.com/t/wkwebview-cookies-and-you/75397>\
**Category:** ionic-v1\
**Created:** [January 6, 2017, 3:46pm UTC](https://forum.ionicframework.com/t/wkwebview-cookies-and-you/75397 "2017-01-06T15:46:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhask](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jhask](https://forum.ionicframework.com/u/jhask)\
**Post date:** [January 6, 2017, 3:46pm UTC](https://forum.ionicframework.com/t/wkwebview-cookies-and-you/75397/1 "2017-01-06T15:46:45Z")

</div>

Hi guys,

As I’m sure you’re aware of, Apple has moved away from UIWebview to the superior WKWebview with iOS 10. WKWebview presents an issue for me because my app’s backend requires cookies to be send with http requests (cookies needed for a load balancer on the server). I’ve found some stack overflow posts where people voice similar concerns (see: [here](http://stackoverflow.com/questions/26573137/can-i-set-the-cookies-to-be-used-by-a-wkwebview)), but their solutions involve native code. Is there any way I can capture the set-cookie response header, and force it to send with subsequent requests in ionic (1 or 2, I have an app using each)?

Thanks!

---

<div class="post-metadata">

**Author:** ![gvs](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@gvs](https://forum.ionicframework.com/u/gvs)\
**Post date:** [June 10, 2017, 8:07pm UTC](https://forum.ionicframework.com/t/wkwebview-cookies-and-you/75397/2 "2017-06-10T20:07:43Z")

</div>

Does anyone have any solution to this issue. I am facing the same issue but looks there is no solution outside xcode

Thanks
