> On Nov 19, 2014, at 1:54 PM, Seung Chan Lim <[email protected]> wrote: > > From the NSHTTPCookieStorage? What does that mean?
Nothing, unless you know the Cocoa networking APIs. I was mostly talking to myself about the underlying cause of the problem. > From iOS Phonegap, can I: > 1) make an http request directly to my SGW with my session cookies set (i.e. > Cookie: SyncGatewaySession=blah) > 2) AND THEN make a request to http://lite.couchbase./ > <http://lite.couchbase./> > When this starts replication, would it use the cookies from my first HTTP > request to the SGW? I don't think so. Sending a Cookie: header in a request doesn't register it with the system cookie storage; it's receiving it in a Set-Cookie: response header that registers it. I filed this as issue #532 <https://github.com/couchbase/couchbase-lite-ios/issues/532>, btw. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/FC57E007-DABC-4D27-B2EB-6A6F56DC5658%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
