Mmmm. I think your suggestion is a valid workaround. I'll have to try that.
Thanks! On Thu, Jan 16, 2014 at 10:42 PM, Jens Alfke <[email protected]> wrote: > > On Jan 16, 2014, at 8:37 AM, Daniel Gonzalez <[email protected]> > wrote: > > > I guess couchdb is using a cookie for the session without keeping > > information about the endpoint, so it gets overwritten. > > It's not possible, apparently, to have port-specific cookies for the same > host: > > http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific > So if you connect to two CouchDB servers at the same hostname, the auth > cookies they set are going to overwrite each other. > > > Is there a workaround for this, so that I do not need to re-authenticate > so often? > > Don't configure the tunnels to be on the same hostname? > > —Jens
