[Zope] Modifying Cookie crumbler

2008-12-14 Thread Mr SZ
Hi All, I have been using cookie crumbler for my site.From the code, I figured out that it stores a base64 encoded value of the username:pass in the cookie. My doubt is how do I modify this behaviour of CC? CC allows me to override the set and expire the authCookie methods.I don't want my user'

Re: [Zope] Modifying Cookie crumbler

2008-12-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mr SZ wrote: > I have been using cookie crumbler for my site.From the code, I > figured out that it stores a base64 encoded value of the > username:pass in the cookie. My doubt is how do I modify this > behaviour of CC? CC allows me to override the se

Re: [Zope] Storing unicode in ZODB objects

2008-12-14 Thread Thibaud Morel l'Horset
Hey AJ, Thanks. Full traceback below. Regarding storing files, I meant the File Zope Object, as added by the following API call: newFolder.manage_addFile(id,title=title, content_type="text/plain", file=content). Exception Type AttributeError Exception Value 'unicode' object has no attribute 's

Re: [Zope] Storing unicode in ZODB objects

2008-12-14 Thread Andreas Jung
On 14.12.2008 15:44 Uhr, Thibaud Morel l'Horset wrote: Hey AJ, Thanks. Full traceback below. Regarding storing files, I meant the File Zope Object, as added by the following API call: newFolder.manage_addFile(id,title=title, content_type="text/plain", file=content). 'file' must be an open fil