I want my users to be able to take advantage of offline use of the app. The only way to authenticate them is through the sync gateway, which requires that they're online. So I can have them authenticate once while they're online, then keep the session cookie cached and use it to replicate whenever they go online. So far so good.
The question is, what's the best practice to doing this over a long duration of time? What if they're offline for days? Do I keep their userid/password stored on the app locally and re-authenticate on their behalf every 24 hours (assumed expiration date of these session cookies) slim -- 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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/c013ae64-5e35-4a0d-b71b-dba28cd039fb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.