[Zope] sessions and dtml problem

Ben Avery ben@thesite.org.uk
Wed, 12 Jun 2002 21:42:09 +0100


The form validator script just puts the whole form as a value:

req.SESSION.set(ss_formname, req.form)

where ss_formname is a name passed in, and req is context.REQUEST


-----Original Message-----
From: Chris McDonough [mailto:chrism@zope.com]
Sent: 12 June 2002 21:35
To: Ben Avery
Cc: 'zope@zope.org'
Subject: Re: [Zope] sessions and dtml problem


On Wed, 2002-06-12 at 15:22, Ben Avery wrote:
> I have a form which gets submitted to a python script which first pushes
the
> form object into the session, does some form validation, and if any fields
> don't match the validation criteria, then the form is revisited until
> correct.

When you say "a python script pushes the form object into the session",
what exactly does this code look like?