• 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: What does NSURLCredentialPersistenceForSession mean, exactly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does NSURLCredentialPersistenceForSession mean, exactly?


  • Subject: Re: What does NSURLCredentialPersistenceForSession mean, exactly?
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 22 Feb 2016 09:52:54 -0800


On Feb 21, 2016, at 11:14 PM, Quinn The Eskimo! <email@hidden> wrote:

* On the latest OS release it /is/ possible to create a cookie store elsewhere via +[NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier:].

I know that method is meant for extensions, but can it be used for other reasons to create multiple independent cookie stores used by a single app?

In Couchbase Lite we need to support multiple simultaneous replication contexts, each with their own login credentials, which means independent cookie storage (since login state is often stored in session cookies.) It would be very useful if we could define a unique “group container identifier” for each replication, and use the above method to create cookie stores.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: What does NSURLCredentialPersistenceForSession mean, exactly?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >What does NSURLCredentialPersistenceForSession mean, exactly? (From: Jens Alfke <email@hidden>)
 >Re: What does NSURLCredentialPersistenceForSession mean, exactly? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: What does NSURLCredentialPersistenceForSession mean, exactly?
  • Next by Date: Re: CFNetwork is not adding Authorization: headers proactively
  • Previous by thread: Re: What does NSURLCredentialPersistenceForSession mean, exactly?
  • Next by thread: Re: What does NSURLCredentialPersistenceForSession mean, exactly?
  • Index(es):
    • Date
    • Thread