From fred at polgardy.com Thu Feb 3 13:54:14 2005 From: fred at polgardy.com (Frederick Polgardy Jr) Date: Wed, 2 Feb 2005 20:54:14 -0600 Subject: [albatross-users] Greetings Message-ID: <200502022054.14433.fred@polgardy.com> Greetings all. This is my first visit. I have just discovered Albatross, and like many of you (probably), it took a good week for the drooling to completely stop. What a great design! And now for my first question... Any way to support cookies? (I mean, actual site cookies for long-term persistence, beyond storing session IDs.) My best guess at the moment is to take what I need from the (CGI, mod_python, etc.) Request object and tweak it before wrapping it in the albatross Request, because I don't seem to be able to find it after that. Maybe I'm missing something dumb and obvious. Thanks for any help. Fred From andrewm at object-craft.com.au Thu Feb 3 14:15:53 2005 From: andrewm at object-craft.com.au (Andrew McNamara) Date: Thu, 03 Feb 2005 14:15:53 +1100 Subject: [albatross-users] Greetings In-Reply-To: <200502022054.14433.fred@polgardy.com> References: <200502022054.14433.fred@polgardy.com> Message-ID: <20050203031553.112AB3C889@coffee.object-craft.com.au> >What a great design! Thanks! >And now for my first question... Any way to support cookies? (I mean, >actual site cookies for long-term persistence, beyond storing session IDs.) >My best guess at the moment is to take what I need from the (CGI, >mod_python, etc.) Request object and tweak it before wrapping it in the >albatross Request, because I don't seem to be able to find it after that. >Maybe I'm missing something dumb and obvious. Have a look at how Albatross does it's cookie handling - the SessionCookieMixin class in albatross/session.py. SessionCookieMixin._set_sesid_cookie() uses set_header - when adding another cookie, you should use add_header (append) rather than set_header (which will overwrite the cookie set by _set_sesid_cookie(). Hope this gives you some ideas. -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/ From toporov at dataart.com Fri Feb 25 21:40:43 2005 From: toporov at dataart.com (Denis Toporov) Date: Fri, 25 Feb 2005 13:40:43 +0300 Subject: [albatross-users] How to configure Albatross auth with existing LDAP ? Message-ID: <74077C8AA24C5047AA55164003DFBE88038DB262@exchange.universe.dart.spb> How to configure Albatross auth with existing LDAP ? I know that it is possible to configure Apache to use LDAP, also it is possible to use LDAP directly in python using python-ldap. What is recommended way to handle authorization/authentification in web application with LDAP? -- Denis Toporov, Senior Software Engineer DataArt - Enjoy IT www.DataArt.com E-mail: toporov at dataart.com