Re: What does NSURLCredentialPersistenceForSession mean, exactly?
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