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 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )