Hi Jens, Thanks for taking time and replying. I like the idea of custom URL. My current implementation is based on porting of code from other platforms to Mac and is a bit more involved than simply launching the application. However I see the value in suggestion and will give it a try sometime soon.
- Hirendra -----Original Message----- From: Jens Alfke [mailto:j...@mooseyard.com] Sent: Wednesday, July 06, 2011 9:21 PM To: Hirendra Rathor Cc: cocoa-dev@lists.apple.com Subject: Re: Delay in reading cookie using NSHttpCookieStorage 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com