2 Dec
2002
2 Dec
'02
10:59 p.m.
Ausum Studio writes:
Inside a PythonScript, you can use:
context.REQUEST.RESPONSE.write(string)
as much times as you need it.
You need to take into account that all what your page will render are the streamed strings, and that any 'return something' at the end of the script wil not work, unless it's another response like 'RESPONSE.redirect(url)'. 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. Dieter