> On Dec 31, 2014, at 11:42 PM, Vinay Bhinde <[email protected]> wrote: > > As far as i know when i call trigger sync from my code it first initiates a > push replication from cblite to SG and then pull replication from SG to > cblite.
Actually the push and pull run simultaneously. > Now what i am doing is that i am not sending cookies to purposely check what > happens and on doing this as soon as i trigger sync the logs on SG show 401 > Lo-gin required error which is perfect as i didn't send a cookie. But when i > check my network requests on cblite client it shows _replicate request with a > session id rep001 in response. The "session" key in the JSON response is not an HTTP session cookie; it's an ID that represents the replication task internally. (The name is confusing, but we didn't make it up; it came from the CouchDB API.) —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/C7ABFAB0-E822-427E-B82B-136932A92334%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
