|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: JavaScript and form submissionby dorward (Curate) |
| on Nov 22, 2006 at 13:24 UTC ( #585510=note: print w/ replies, xml ) | Need Help?? |
|
I'd approach the problem by not trying to prevent duplicate submissions, but to handle them in a smarter way. Include an identifier in the form (using a hidden input). If a submission comes in with an identifier you've seen before, then treat it as an update to the existing data rather than new data.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||