[Zope] response.redirect not working

Paul Winkler pw_lists at slinkp.com
Fri May 20 17:06:17 EDT 2005


On Fri, May 20, 2005 at 11:45:58PM +0300, Art??ras wrote:
> The problem is on line #2. According to what's written, zope should
> drop everything and do immediate redirect to page index_html (ok, it's
> not where the first error appeared, I just managed to generate this
> error as the most clearest and best visible one), but instead zope
> calmly executes database actions and does other stuff till the end of
> the document.

I don't think RESPONSE.redirect() can reasonably be expected to stop all 
further processing of your script or template. 
It simply adds a header to the response, which has no effect until
the client receives it.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list