|
Posted by C. (http://symcbean.blogspot.com/) on 01/09/08 10:17
On Jan 8, 6:17 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> C. (http://symcbean.blogspot.com/) wrote:
> > On Jan 8, 4:03 pm, thib´ <th...@coralsnake-team.com> wrote:
> >> jodleren wrote:
> >>> Hi
> >>> I have never done this before... but I could use it now.
> >>> How do I create a "please wait" page, which will "reload" once my real
> >>> page is ready?
> >>> I am talking of a waiting time of some 10-20 secs, but can be
> >>> worse.... still even 10 secs I'd like something telling the user, that
> >>> data is being processed.
> >>> [like when booking an airline ticket... waiting 2 mins there is
> >>> common]
> >>> Terv
> >>> Sonnich
> >> Output your message, process the info, cache it, html reload, done.
> >> The only problem is that you have to deal carefully with private info,
> >> but it's really affordable.
>
> >> -thib´
>
> > You don't actually need to reload - as long as the job will complete
> > before the browser times out, write the 'please' wait inside a div,
> > flush it, then when the final output is ready make the div invisible
> > with javascript.
>
> > C.
>
> There is no guarantee the browser will display anything before all
> output is sent.
>
True - but it works on every browser I've tested (MSIE, Firefox,
Konqueror)...and of course its dependant on having a webserver capable
of generating chunked encoding.
Perhaps I should say YMMV.
C.
[Back to original message]
|