[Zope] newbie question: Redirect from Python?

seb bacon seb@jamkit.com
Mon, 27 Nov 2000 20:20:30 +0000


* Paul Winkler <slinkp23@yahoo.com> [001127 19:54]:
> I want the user to be sent to a particular URL after calling the
> product's manage_add method. How can I do that?
> The URL I want is REQUEST['URL3'].
> 
> I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
> RESPONSE doesn't seem to exist here.

sounds alright to me.  are you calling it in quotes, e.g. <dtml-var
"RESPONSE.redirect(REQUEST['URL3'])"> ?

you shouldn't have to use the REQUEST to look up the variable, either:
<dtml-var "RESPONSE.redirect(URL3)">