I am trying to write a C# console application to do some testing with a 
sync gateway using custom authentication. After getting the session 
information from the gateway, I do the following in my program:

var _pullReplication = _database.CreatePullReplication(url);
DateTime cookieExpiresDateTime = DateTime.Parse(cookieExpires); 
_pushReplication.SetCookie(cookieName, sessionId, "/", 
cookieExpiresDateTime, false, false);

After I call SetCookie, I get a NullReferenceException, which I've posted 
as an issue to GitHub: 
https://github.com/couchbase/couchbase-lite-net/issues/372. 
.

Are these the right steps for using the custom cookie?  Is there some other 
configuration I'm missing?

--
Eric Levine

-- 
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/97775f5f-4cf0-4630-9fe1-6d3bbdb112e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to