Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No BACK button
Message
 
To
13/08/2001 21:55:01
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Miscellaneous
Thread ID:
00543328
Message ID:
00543339
Views:
21
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform