in reply to Netscrape and forms (Slightly Off Topic)
Not so off-topic as you might think. Even if there's a problem in your Javascript somewhere (that stealth-submits on you or something), stopping double-submits is a good trick to have in your CGI programmin' toolkit.
One way I might do it is to generate a unique ID for each form instance and add it as a hidden field to the form HTML; then you can check, in your form processing script, whether a form with that ID has already been submitted.
HTH
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Netscrape and forms (Slightly Off Topic)
by zakzebrowski (Curate) on Apr 17, 2001 at 20:00 UTC | |
by arturo (Vicar) on Apr 17, 2001 at 20:08 UTC | |
by zakzebrowski (Curate) on Apr 17, 2001 at 21:12 UTC | |
by Anonymous Monk on Apr 18, 2001 at 07:54 UTC | |
by zakzebrowski (Curate) on Apr 23, 2001 at 23:18 UTC |