Um... the only thing you really need to know is to first set your header: <dtml-call "RESPONSE.setHeader('Pragma', 'No-cache')"> and then use: <dtml-call "RESPONSE.write(' <htmlCode> ')"> Make sure you escape your characters: ' = \' " = \" (Incidentally I cannot make work, although it should) I found this info from surfing the lists and collecting. I also would like to know more about it other than a very rude 'how' Paz -----Original Message----- From: Peter Bengtsson [mailto:mail@peterbe.com] Sent: Wednesday, August 29, 2001 6:19 PM To: Paz; Zope@zope.org Subject: Re: [Zope] RESPONSE.write() Where can I find more info on using RESPONSE.write() ? Searched both mother zope.org and nipltd. I'm basically looking for a better solution than: <meta name="refresh" content="5; url=<dtml-var URL>">
Hello again,
Its gonna be a flurry from me today. I've successfully used the pragma alogn with RESPONSE.write() to stream a page to a browser....
I have two questions:
1) I haven't done more work outside of MSIE 6. Is this method of streaming working on all broswers?
2) It seems that if you write a page, you have to write 100% no less of the page otherwise the Wrtie() masks any normal html. Is there a way to do both?
i.e Use RESPONSE-write() to immeditaley put up you interface, and then have the content come from normal html.
Thanks Paz
_______________________________________________ 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 )