Force update of display

I have a form to save a file name needing to be processed. This calls a blank application (BA1) to determine how to process the file (is it csv, is it tab, etc). A echo goes to the screen that says “TAB DELIMITED PROCESSING” (or whichever). It then calls another blank application (BA2) which then loads the records into a mysql table. At the end of loading, it calls stored proc 1 (SP1) on the server. Back to BA2 which calls SP2 on the server then BA2 which calls SP3. Between each call to the SPs, I have an echo in BA2 saying what is going on. I notice in my browser tab which shows the echos, it never gets off BA1 (TAB DELIMITED PROCESSING) until the program is totally done and then switches to BA2 with all the desired echos. Is there any way to force this on to BA2 while it is actually processing?