Hi, Thanks for the answer. I'm not familiar with Sinatra or the other frameworks, but I have a question about this. The nice thing about CouchDB and CouchApp is that I am able to run my app right from CouchDB. Is it possible to use any of those frameworks from couchone.com account?
My guess is no but I am asking. Thank you, Ido On Thu, Dec 9, 2010 at 5:18 PM, Zachary Zolton <[email protected]>wrote: > 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. > > Cheers, > Zach > > On Wed, Dec 8, 2010 at 3:56 PM, Ido Ran <[email protected]> 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 > > >
