[Zope] Forms, RESPONSE, REQUEST, and redirect

Dieter Maurer dieter@handshake.de
Mon, 6 May 2002 19:20:15 +0200


Dennis Allison writes:
 > So, I have been trying to bend Zope to my will and making some progress.
 > But this one has me a bit befuddled either because I'm tired or because I
 > am missing something.
 > 
 > Here's what I am trying to do...
 > 
 > I have a method (in the particular case at hand, it is an External Method,
 > but it could be a Python Script or DTML).  It gets control, gets access
 > to its REQUEST and RESONSE objects and does something.  In particular, it
 > arranges some computation and modifies some REQUEST values, and possibly
 > adds some new ones.  It then redirects to another object, this time a DTML
 > document which, when it renders, will want access to the initial REQUEST
 > object data as modified.  
When you use "RESPONSE.redirect", you go back to the browser,
the browser makes a new request and this does not know anything about
the previous one.

Your options:

  *  a session object

  *  "emulateRedirect" from

    <http://www.dieter.handshake.de/pyprojects/zope>


Dieter