I have a WebBatch script that was migrated from Windows Server 2000 to Windows Server 2008 R2 (64-bit). The WebBatch code has different behavior now that it is on 2008 R2. When the WebBatch script was called on Windows Server 2000 the user would get web page updates at each step of the WebBatch script. Now that the WebBatch is running on Windows Server 2008 R2 - the user gets no updates until the entire script is done and then they appear to get the whole page at the same time. Here's an example script I wrote to show what was happening:
WebOut('Step 1 of 3 - Submitting batch job',1)
WebOut('Step 2 of 3 - Processing Data',1)
WebOut('Step 3 of 3 - Done',1)
When this SimpleOutput.web WebBatch program ran on Windows Server 2000 the user gets a browser response "Step 1 of 3 - Submitting Batch Job" then 5 seconds later they get the message "Step 2 of 3 - Processing Data", then 5 seconds later they would get "Step 3 of 3 - Done" then 5 seconds later they get the "Finished" message that completes the job. So you can understand that the user got frequent updates in their IE browser along the way of the status of the job.
Now that the SimpleOutput.web WebBatch program is running on Windows Server 2008 R2 (64-bit) this step by step update to the client browser no longer works. Now what happens is the user calls SimpleOutput.web and the client gets a blank browser for 15 seconds then all at once gets a response that is all the Steps at once. Now the user complains that the system is 'hanging up' and not responsive so they hit the back button (oh no!) and rerun the SimpleOutput.web again.
How can I get my SimpleOutput.web WebBatch program to send regular step by step updates to the browser as it runs so that the user knows what step the program is on at any given moment?
Thank you in advance for your support,