Florian,

OK, agree.

But, I can accuse Intersystems that it works in ASP and PHP.
There is a webserver between ASP and PHP too!

I think, Intersystems has to make more than a Write *-3
in the Flush() method. Here must be a deep webserver
operation to flush all the buffers of Cach�, CSPGateway
AND webserver to the browser.

There are several cases where we use server calls periodically
to get a state of a longer running process. But that way you
can not visualize a "true" server action. A server process
can make some hundrets operations that are relevant to inform
the user of in a period of one second or none of them.
However, it can look better if you give those information in
"real time" instead of a period of some seconds. And here
we need a properly working Flush() method!

Regards
Alexander Riemer
BEWIDATA

"Florian Backes" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]
> Hello Alexander,
>
>
> > I wanted to create a progress bar with CSP like
> > described here:
> > http://www.myblogroll.com/Articles/progressbar/
> >
> > Here %response.Flush() is used massively. But I
> > found out that it only works with the built in Cach�
> > webserver (Port 1972). In other cases the browser
> > does nothing and waits all the period until the last
> > byte is sent by Cach� and then presents the progress
> > bar at 100%.
> >
> > What's wrong?
>
> If you use a webserver (apache?), the websever itselfs has an output-
> buffer.
> If you call %response.Flush the Cach� IO-Buffers are flushed!
> But you can't control the buffer-behavior of your webserver from within
> Cach�.
>
> Thats the problem.
>
> Maybe you can use a JS / server-call combination to realise a progress-bar?
>
> HTH
> Florian



Reply via email to