[Zope] Anyone got some code that takes a dictionary and encodes it into a cookie?

Steve Alexander steve@cat-box.net
Sat, 06 Oct 2001 18:48:33 +0100


Tony McDonald wrote:

> ...and vice versa?
> 
> I've searched google, the NIPltd archives, the Zope site and python.org with
> no success.
> 
> I'd like to use CST for this as it works *very* sweetly, but I'm still
> having major brain flips trying to tie up the CST with ZEO using the various
> storages that are about, and I've decided to use this *dreadful* hack until
> I can get my head around CST again.


Look at how the dtml tree tag encodes lists/tuples into a cookie.

--
Steve Alexander
Software Engineer
Cat-Box limited