Reply to Re: Reentrant POST

Your name:

Reply:


Posted by Colin McKinnon on 02/05/06 23:42

a wrote:

>
> 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?
>

I think you've misunderstood the meaning of 'reentrant'.

Interfering with the existing process is not trivial. Wouldn't it be simpler
to not allow the user to POST more than once - something like:

<input type='button' id='submitId' onclick='
if (document.getElementById("formId").onsubmit()) {
document.getElementById("submitId").disabled=true;
document.getElementById("formId").submit();
}' value='Submit'>

C.

[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

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