![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The problem is caused, usually, with the user becoming impatient or doubtful with the first submission. The issue is how to process each request properly, ignoring multiple submissions. snip I'm interested in other strategies people have tried. Any views? |
#3
| |||
| |||
|
|
In article <c08g9h$9te$1 (AT) titan (DOT) btinternet.com>, firstname (AT) lastname (DOT) com enlightened us with... The problem is caused, usually, with the user becoming impatient or doubtful with the first submission. The issue is how to process each request properly, ignoring multiple submissions. snip I'm interested in other strategies people have tried. Any views? Well, I only code for intranet applications, so I know my users, their browsers, and I know they have javascript enabled. Actually, the forms won't submit without javascript (purposefully). snipped stuff about howto with javascript) As to how to handle the multiple submissions, I'd say it depends on what the problem is. If a user clicks submit more than once, what happens that you're trying to prevent? The real solution may be to re-code parts of the application so it can handle that. |
#4
| |||
| |||
|
|
Apologies if this is off-topic, but this seems as a good a place as any to ask this (and I've never found a faq for this group). When an HTML page contains a form and the client user presses a submission button twice (or more), the page is sent twice (or more) to the server. The server has to process all requests. The problem is caused, usually, with the user becoming impatient or doubtful with the first submission. The issue is how to process each request properly, ignoring multiple submissions. The only reliable mechanisim I can think of is to include a hidden unique transaction code in the form, which the server can authenticate when it receives it. I'm aware that this technique has problems e.g. what response should then second request get? Discard, Error, or the page generated by the first response - this gets messy. I'm interested in other strategies people have tried. Any views? (This is different from the submission refresh problem, which has a different solution - redirection) Thanks & regards |
![]() |
| Thread Tools | |
| Display Modes | |
| |