Re: WKWebView and cookies
Re: WKWebView and cookies
- Subject: Re: WKWebView and cookies
- From: Torsten Curdt <email@hidden>
- Date: Tue, 12 Apr 2016 18:20:40 +0200
>
> Cookie headers are added later. I haven’t used WKWebView, but when using
> an NSURLSession the cookies aren’t part of the NSURLRequest, but get added
> when the request is sent.
>
Hm - but shouldn't they be available in the response at least?
I also tried to find it in the cookie storage
> NSHTTPCookieStorage.sharedHTTPCookieStorage().cookies!
>
> WKWebView runs in a separate process, which has its own cookie storage.
>
And there is no way to access that storage yet?
> What’s the higher-level goal you’re trying to achieve?
>
I want read and ideally restore a cookie that holds a website
authentication.
cheers,
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden