• 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: Delay in reading cookie using NSHttpCookieStorage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Delay in reading cookie using NSHttpCookieStorage


  • Subject: RE: Delay in reading cookie using NSHttpCookieStorage
  • From: Hirendra Rathor <email@hidden>
  • Date: Thu, 07 Jul 2011 13:22:26 +0530
  • Acceptlanguage: en-US
  • Thread-topic: Delay in reading cookie using NSHttpCookieStorage

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:email@hidden]
Sent: Wednesday, July 06, 2011 9:21 PM
To: Hirendra Rathor
Cc: email@hidden
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 (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

References: 
 >Delay in reading cookie using NSHttpCookieStorage (From: Hirendra Rathor <email@hidden>)
 >Re: Delay in reading cookie using NSHttpCookieStorage (From: Jens Alfke <email@hidden>)

  • Prev by Date: RE: Delay in reading cookie using NSHttpCookieStorage
  • Next by Date: Re: NIB loading cycle? (sequel to: Dynamically loading NIB files with a common stem)
  • Previous by thread: Re: Delay in reading cookie using NSHttpCookieStorage
  • Next by thread: Dynamically loading NIB files with a common stem
  • Index(es):
    • Date
    • Thread