[Zope] MessageDialog in Python Script
Ausum Studio
ausum_studio@hotmail.com
Mon, 2 Dec 2002 19:21:38 -0500
---- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Ausum Studio" <ausum_studio@hotmail.com>
(...)
> This will not work either:
>
> "Response.redirect" works by sending an appropriate HTTP response
> code.
>
> But this is already written in the first "write". There is no way
> to send a second one.
>
I'm afraid that's correct.
A tested workaround to perform a redirection after a page is streamed via
RESPONSE.write sentences is to use Javascript, that is, 'window.open' at the
bottom of the page, with the destination url and '_self' as the only two
parameters.
Ausum
> Dieter
>