5 Feb
2002
5 Feb
'02
3:27 p.m.
I'm writing some things in a stream to the browser, to keep the user informed that stuff is happening while a long-winded process unfolds. When that process has ended, I want to publish a DTML template as a new page. How can I end the HTTP stream and start a new one? def someFunction(self, REQUEST): response = REQUEST.RESPONSE # do something longwinded response.write("please wait") # do something else longwinded # now I want the following DTML Method to get displayed return self._report_template(self, REQUEST) seb