On Jun 29, 2010, at 8:33 AM, Ray Daly wrote:
> How would I access the user object for the admin logged in for the current
> session? I set up several people with their email addresses for login and I
> need to capture the currently logged in email.
>
Do an xhr request against /_session
There is a helper in jquery.couch.js for this already. I think it is
$.couch.session({success: fun}) where fun is your code.
Here's some example usage:
http://github.com/jchris/proto/blob/master/vendor/couchapp/evently/account/_init.js#L3
Chris
> --
> Blog- http://www.abcedmindedness.com