You can flush what's been written so far to the browser using
self.response().flush(). Just make sure you've already set all cookies and
other headers because you can't set any additional headers once you've
However, you're better off trying to speed up your pages of course. If your
slowness is really due to how long it takes to connect to a database, you
might just want to arrange to already be connected.
> -----Original Message-----
> From: Adam Gent [mailto:agentgt@...]
> Sent: Friday, July 12, 2002 1:17 PM
> To: webware-discuss@...
> Subject: [Webware-discuss] Redirecting on demand or maybe
> How can I display for example a "Wait loading content
> page" and then display the page that I really want to
> when its done processing. I was thinking that this
> would be nice for pages that load up really slow i.e.
> (pages that connect to a database.)
> Its seems that webware waits until respond() is
> completly done before it sends data to the client.
> Instead of sending data over like a continous stream
> it sends the whole thing over once its done. So if
> respond takes to long the user will just have to wait
> looking at a blank page. How can I get around this?
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> This sf.net email is sponsored by:ThinkGeek
> Gadgets, caffeine, t-shirts, fun stuff.
> Webware-discuss mailing list