From: Geoffrey T. <gta...@na...> - 2002-07-12 18:04:20
|
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 called flush(). 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. - Geoff > -----Original Message----- > From: Adam Gent [mailto:ag...@ya...] > Sent: Friday, July 12, 2002 1:17 PM > To: web...@li... > Subject: [Webware-discuss] Redirecting on demand or maybe > re-responding? > > > 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 > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Gadgets, caffeine, t-shirts, fun stuff. > http://thinkgeek.com/sf > _______________________________________________ > Webware-discuss mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webware-discuss > |