How about using a Location: header to cause the browser to reload the page?
From: seb bacon <seb@jamkit.com> Date: 05 Feb 2002 15:27:57 +0000 To: zope@zope.org Subject: [Zope] ending a chunked http stream
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
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )