[Zope] Cookie Dictionary
D. Rick Anderson
14 Mar 2003 12:22:47 -0800
I've never used Sessions before. Is there a good howto?
On Fri, 2003-03-14 at 12:05, Geir B=C3=A6kholt wrote:
> On Fri, 14 Mar 2003 11:30:35 -0800 GMT (..20:30 where i live(GMT+1) )
> D. Rick Anderson asked the Zope mailinglist about the following:
> DRA> Thanks for the reply!
> DRA> ok ... then I guess I need to know how to convert it from a string t=
> DRA> dictionary. Is that possible? Is there something like _.dict(cookie)=
> DRA> that will work?
> not sure. i would guess you would have to make your own format/parser
> according to your needs. Tough if you are to handle all cases on a
> general basis, simple if you know what the dicts will be like. :)
> - also : there is a limit (255 ?? ) to how long cookie strings can be , s=
> cookies are really not a very good tool for complex data storage
> You could prehaps get around the problem by using sessions instead ?
> Geir B=C3=A6kholt