Hi Joel,
One way is to have a hidden field on the form that has a value set to a unique ID. When the user submits the form, look up to see if that ID has been submitted before and reject the submission if it has.
Somwhere on the form you could put:
< input type="hidden" name="uniqueid" value="< % = right(sys(2015), 9) % >" >
note I've added spaces so this will render in the UT
Clicking the back button from the submit page will not regenerate the unique ID.
Another approach is to capture the source IP address and reject multiple submissions in that way.
Cheers,
Andrew
>I am using West Wind on IIS5 Fox 7 and template pages (expand template command)
>
>How do I disable te BACK button so a user can NOT go back to a page after they submit it???
>
>How do I make it such that the user can not hit submit MANY times???
>
>THANKS
>Joel
>Houston, TX
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.