incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Harvey <d...@arandomurl.com>
Subject Re: CouchDB cookie from outside CouchDB
Date Tue, 27 Sep 2011 12:43:26 GMT
With Cookie authentication you send a POST to /_session and its result will
contain a Set-Cookie (given the correct credentials), you dont need any
special javascript around, just send the $_POST during login

Cheers
Dale

On 27 September 2011 09:31, CGS <cgsmcmlxxv@gmail.com> wrote:

> Hi all,
>
> I have few web applications which each requires login and I am trying to
> unify their login procedures. One of the applications is CouchDB (obviously)
> and, as far as I noticed, this application uses cookie system to save the
> login session. Does anyone know what JavaScript files I should load into the
> common login page and what to do to create that cookie?
>
> I know there is an option to transfer the login session via address bar,
> but I do not fancy that option too much. That's why I try to create the
> cookie and I am trying to "hack" futon, but I would appreciate any help if
> any of you managed this before. Thank you.
>
> Cheers,
> CGS
>
>

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