Re: Delay in reading cookie using NSHttpCookieStorage
Re: Delay in reading cookie using NSHttpCookieStorage
- Subject: Re: Delay in reading cookie using NSHttpCookieStorage
- From: Jens Alfke <email@hidden>
- Date: Wed, 06 Jul 2011 08:51:23 -0700
I don’t think the cookie storage is guaranteed to be 100% in sync across apps all the time. WebKit is probably batching up changes in memory before writing them out to disk. You should probably find a different way to do what you’re doing.
Also, launching an applet to launch your app seems cumbersome — the usual way to have the browser launch a custom app is to make up a custom URL scheme, register the app as handling that scheme, and then have the browser navigate to a URL of that scheme. This has the advantage that you can pass information to the app in that URL (which might remove your need to read the cookie?)
—Jens_______________________________________________
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