[Zope] Cookie Dictionary

D. Rick Anderson ruger@comnett.net
14 Mar 2003 12:22:47 -0800


I've never used Sessions before. Is there a good howto?

Thanks,

Rick



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:
>  =20
> DRA> Thanks for the reply!
>=20
> DRA> ok ... then I guess I need to know how to convert it from a string t=
o a=20
> DRA> dictionary. Is that possible? Is there something like _.dict(cookie)=
=20
> DRA> that will work?
>=20
> 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. :)
>=20
> - also : there is a limit (255 ?? ) to how long cookie strings can be , s=
o
> cookies are really not a very good tool for complex data storage
>=20
> You could prehaps get around the problem by using sessions instead ?
>=20
>=20
> --
> Geir B=C3=A6kholt
>=20