• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WKWebView and cookies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: WKWebView and cookies
      • From: Jens Alfke <email@hidden>
References: 
 >WKWebView and cookies (From: Torsten Curdt <email@hidden>)
 >Re: WKWebView and cookies (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: WKWebView and cookies
  • Next by Date: Proper way to set up constants when building an iOS framework
  • Previous by thread: Re: WKWebView and cookies
  • Next by thread: Re: WKWebView and cookies
  • Index(es):
    • Date
    • Thread