[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Please wait while your request is processed
jojo@blackpoint.de wrote:
>
> On 15 Mar, Bill Randle wrote:
> [DEL]
> > Another possibility, perhaps (untested):
>
> I've tested your codes with
>
> [mvasp]
> <%
> HTML "This will take awhile, please be patient...";
> $Document->send(); # flush buffer
> $Document->hot(1); # send stuff as soon as it's written
>
> # some perl task that takes awhile
> # if there are some points in the process you can update the
> # user status, so much the better. E.g.:
> # foreach (@some_array) {
> # HTML " ."; # show another period as a progress indicator
> # some code that processes each item
> # }
> $i=0;
> HTML "<BR>In process ";
>
> for ($i = 1; $i <= 30; $i++)
> {
> HTML " .";
> $Document->send();
> select(undef,undef,undef,1.000);
> }
> HTML "<br>All done, thank you for waiting.";
> %>
> [/mvasp]
>
> and I get the whole page after the mvasp is finish (30 seconds) and I
> can't see another period (HTML " .";) during the process. What did I do
> wrong?
I don't know that you're doing anything wrong. After the reply from Mark, I
tested it too and got the same results. I haven't had the time to look
into it any deeper to see why it doesn't work as expected.
-Bill
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users