Re: [Zope] Cookie Cutter Product
CookieCutter Product. The CookieCutter Product manages a dictionary of objects. The objects are assigned to the dictionary keys, pickled, and added to REPONSE.cookies. It is unpickled from REQUEST.cookies and, if desired, the dictionary items are mapped into the REQUEST namespace where they can be then used as normal attributes. This allows the storage of a number of arbitrary objects in a single cookie. Cookies have a 4KB limit so I don't know how far this can go before either the browser or the user gags but, for what I'm using it for anyway, it works well.
I'm still a bit new at all this so, for all I know, it could be a really braindead idea. Is anyone interested? Comments?
John Jarvis Tokyo Electron FE, Ltd.
John, It certainly doesn't sound braindead to me. I for one would like to see what this product can do - have you thought about contributing it to http://www.zope.org/Download/Contrib ? cheers, tone
participants (1)
-
Tony McDonald