couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Gonzalez <gonva...@gonvaled.com>
Subject Re: Keep several couchdb sessions authenticated
Date Thu, 16 Jan 2014 21:46:35 GMT
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 <jens@couchbase.com> wrote:

>
> On Jan 16, 2014, at 8:37 AM, Daniel Gonzalez <gonvaled@gonvaled.com>
> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message