1 Dec
1999
1 Dec
'99
1:54 a.m.
At 01:55 PM 11/30/99 -0500, Andrew M. Kuchling wrote:
Has anyone written ExternalMethods or DTML pages that do server push? It was probably impossible with Zope1 because of the single thread, but with Zope2 it might be possible to start a new subthread to service each push-receiving client.
I haven't done server-push, but I have done immediate write (using RESPONSE.write(), which is the first thing you'll need. To be honest, though, I haven't tried it under ZServer, and I only used it once. The tricky bit is that once you start doing "hot" output, any errors are not going to be output cleanly.