[Zope] The RESPONSE object

Karl Munroe komunroe@uwimona.edu.jm
Wed, 21 Mar 2001 09:59:11 -0800


The Zope Quick Reference version 0.9 lists the RESPONSE variable as having
an attribute "set(name, value)" that sets a variable in the request.

I tried to use this method to set some variables and the redirct like so:

<dtml-call "RESPONSE.set('myVariable', myVariableValue)">
<dtml-call "RESPONSE.redirect(URL1+'/SomeDtmlMethod')">

When I execute the above code I get the following error message

Error Type: AttributeError
Error Value: set

What I would like to achieve is an automatic redirect with my submitted form
variable in the new request.