couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <>
Subject Re: Anonymous Identity
Date Thu, 09 Dec 2010 15:18:29 GMT
HTTP is a stateless protocol, but many application servers emulate a
session by keeping an in-memory data structure that is keyed off of a
browser cookie. CouchDB doesn't do this.

I think the easiest way for you to have an anonymous session like that
would be to put CouchDB behind some kind of application server, e.g.
PHP, Sinatra, Express.


On Wed, Dec 8, 2010 at 3:56 PM, Ido Ran <> wrote:
> Hi,
> I have an application which show album of photos (this is new).
> I would like to keep track of how many people view each album.
> If I allow anyone to change the document of the album the data will not
> worth anything.
> How can I ensure that client side code does not do bad stuff?
> I though that CouchDB HTTP module must keep track on HTTP session even if
> the client does not authenticate. Can I get hold on the session in some way
> to at least validate that the same session does not change document in short
> period of time?
> Thank you,
> Ido

View raw message