InterviewSolution
| 1. |
How May A Cgi Control Duplicate Inputs? |
|
Answer» When you have a CGI (like an Order Entry) receiving input from a form, the danger always exists that the user incorrectly sends duplicate inputs. There are two main cases where this is possible. Case 1: The user enters by mistake an order line equal to the last previously submitted. This can be controlled in this way:
Case 2: The user by mistake presses the REFRESH / Reload button of the browser (I.E. supports also F5 for page reload). In this case, the browser would resend the last TRANSACTION. One way a CGI could control this would be to:
When you have a CGI (like an Order Entry) receiving input from a form, the danger always exists that the user incorrectly sends duplicate inputs. There are two main cases where this is possible. Case 1: The user enters by mistake an order line equal to the last previously submitted. This can be controlled in this way: Case 2: The user by mistake presses the Refresh / Reload button of the browser (I.E. supports also F5 for page reload). In this case, the browser would resend the last transaction. One way a CGI could control this would be to: |
|