Alexander,

That's an interesting concept.

I guess the issue here is that flushing is interpreted differently by different platforms... It would seem as if ASP.NET flushes immediately when it finds this command, whereas Cach� uses Flush() as a hint, which it may or may not obey depending on the status of the internal buffers.
Does anyone think this makes sense?


The only time I did something akin to a progress bar was by re-rendering the page, I've seen that technique applied in some other sites as well... My solution, being a one-off thing, was heavily tied to the particular application but it should be simple to do something generic. What you want is:

- To segment your process into a number of "chunks"
- Update some appropriate variables to signal process
- Re-render the page in between execution of chunks

Note that this is the same as what you linked to except for the re-render bit.

Hmm... Thinking as I type: if you used an iframe, there'd be no need to re-render the entire page ;)

HTH,

Ram�n



Reply via email to