in reply to Page refresh, timings and simulations

May I recommend that you restructure your process into two separate things:

  1. Run the simulation
  2. Display the information

If you split your program up into these two parts, you can easily apply Watching Long Processes Through CGI, if your simulation process just creates a log file and writes to it. This also means that multiple users can watch the progress of a single simulation and that one user can have multiple simulations running at the same time.

  • Comment on Re: Page refresh, timings and simulations