title: send refresh request to page
body: <p>I would like to refresh a page as soon as a processs on the server is completed. I wouldn't know where to begin or where to start my search.</p>
  
  <p>I have to following scheme, which works perfectly:</p>
  
  <ol>
  <li>A user uploads a file to the server via a website </li>
  <li>The server checks whether the file is valid and copies the file to another folder.</li>
  <li>In the other folder the file has to wait to be processed by a program (Filemaker Server) that is scheduled to run every 1 minute (or whatever interval). </li>
  <li>After the program has finished processing the file it marks a MySQL database entry with "0 no error" or whatever was returned by the process.</li>
  </ol>
  
  <p>So far so good. I would like the user of the website to know when the process is ended. I already have a timer that counts down to 0, which is the amount of seconds until the processing starts. The user is then presented with the text "processing started". </p>
  
  <p>Now, I would like to send a refresh request to the client browser at the moment the processing ends. This should be either some batch file command or a mysql function; I really don't have a clue. I did try <code>&lt;META HTTP-EQUIV="REFRESH" CONTENT="1";URL=home.php"&gt;</code>, but the refreshes (every 1 second or any other interval) are not acceptable, because the user has to upload a file through a form which is unfortunately cleared whenever a refresh takes place. (This is not a problem when a server request would refresh the page, because only one upload process can take place at a time.)</p>
  
  <p>Thanks in advance for any suggestions on this matter!</p>