|  | Posted by a on 02/04/06 10:42 
Hi,
 I have the following setup: PHP 5.1.x on Apache 2.x on Windows XP.
 
 A php script receives data from a form upon user submit, and then execs a
 Windows process, which may take some time to complete (actually this process
 performs a quite complex task which involves starting another process and
 then requesting a Windows service to perform yet other tasks). Everything
 works fine as long as the user submits the form and then patiently waits for
 the processing to end. However, if the user clicks on submit while the php
 script is still waiting for the windows process to end, than the browser
 will remain in this state indefinitely, the Windows processes never complete
 their tasks and sometimes Apache crashes.
 
 Is there a way to handle this so the work in progress is either allowed to
 end or instructed to stop, before moving on to processing the new submit?
 
 Thanks,
 
 A
  Navigation: [Reply to this message] |