How to notify user of progress
<p>I am currently planning a web based application, which needs to do long calculations on the server upon request. Now I would like to display a notification to the user, that the calculation is in progress, and then redirect that page as soon as the calculation is done.</p>

<p>There is no need to notify the user of the progress or display a progress bar, I simply want to exchange the site as soon as the calculation is done.</p>

<p>I am trying to stay clear of any additional webkits besides plain javascript, so <a href="http://stackoverflow.com/questions/2441935/how-to-create-server-side-progress-indicator-in-javascript">this solution</a> is much to complicated.</p>

<p>One idea I have is to just start a http query from javascript in the waiting page and not return anything on the server side until the calculation is done. This way I would keep the query blocked until the connection is finished. Once it is done, I return something and close the connection, so the blocked call can continue and redirect the user. However I am afraid that this might give me a timeout on the network if there is nothing going through that connection.</p>

<p>How is something like this normally handled?</p>
