I've never used Sessions before. Is there a good howto? Thanks, Rick On Fri, 2003-03-14 at 12:05, Geir Bækholt 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 to a 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 , so 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ækholt