c# - Preventing anonymous user from submiting form many times in ASP.NET without SqlMembershipProvider -


I have a simple form that removes the selected response in the XML file. How to prevent sending this form to anonymous users multiple times?

I am not looking for a fully bulletproof solution, and I have a limitation that I can not use the database, and therefore there is no SqlMembershipProvider.

Will some cookies be checked?

Update: To be more precise, this does not mean that only submitting the form some accidentally but by re-submitting this form the user must have a site To stop going on.

In short, you can not completely reliably if you did not tell about some bullet proof If you have been, you can say that you either make the client machine a cookie and then check it for a post next time.

Obviously, users can remove cookies if they are not so great. B) You can store the IP address from which it was submitted. The problem with this is that you will stop many users behind the same IP submission proxy, and the same user can post from different locations.

Neither is particularly good and if it is possible, then I would recommend asking them to start an input email address, do not confirm the post, email a confirmation link and Only make that post official right after it click on it again, is not bullet proof because it does not post people with many email accounts, but it is a little better than the options above.

HTH


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -