[Zope-DB] Sending DB data via the SESSION Manager
Mon, 14 Apr 2003 20:59:55 +0200
Braun Brelin wrote at 2003-4-14 13:55 +0100:
> What I want, instead,
> is in the SESSION object to set a dictionary where each key would be the form ID
> and the value would be another dictionary containing the database field values.
> How do I go about doing this? I tried doing something like this:
Do it precisely, as you describe it:
Build a dictionary (the same way you do it now), say "d".
Then use "context.REQUEST.SESSION.set(formId,d)".
"formId" should be the id of your form.