|
Posted by ABC on 05/07/07 04:44
Hi,
I have a problem with Double submission in html forms.
I am using PHP as the server side scripting language, i have found a
means to capture the second form submission while the first form
submission is still in-progress. Basically, i can use sessions to
check if the first submission is active and reject subsequent submits.
***I do not want to try any client side solution(such as disabling
submit button) as hitting F5 on the screen will re-post the data
again.
My question is :
(*) if i send some kind of output to the browser telling the user
that a previous session is active, then how do i ensure that the first
form submission's output is displayed to the user on the browser
window?
I tried, print messages like- Please wait. But somehow the first form
submission's output is not printed...I am guessing the browser closes
the connection after the second submission's output is received and
first submission has no where to send the output.
I hope, i have been able to express my problem clearly.
Please help!
Raghu
Navigation:
[Reply to this message]
|