Reply to Reentrant POST

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация