in reply to Sending html content to the browser as the script runs
Read up on NPH scripts.
Update:
While NPH would do what you said in the subject (unless the browser waits for the whole page to be received before rendering the page), it's not well suited to provide a "Please Wait" screen. Specifically, it doesn't allow you to remove any "Please Wait" messages you have sent* (without using ill-supported Server Pushes).
What you want to do is usually done as follows:
Instead of using the HTTP Refresh header, you can use any of Java, Flash or JavaScript (AJAX) to check whether the task has been completed or not. I wouldn't use them.
Update:
* – I suppose you could send JavaScript which modifies the document being viewed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending html content to the browser as the script runs
by jhourcle (Prior) on Aug 03, 2006 at 12:06 UTC |