How to prevent multiple clicks of a submit button in ASP. NET

Source: Internet
Author: User
Update (3 August 2004)

A simple but valid tive approach supplied by Mike, check it out.

Overview of the bugs reported against ASP. NET applications have to do with unexpected user input. one common instance of this is when a user clicks a button, but does not wait until the PostBack is completed, and clicks it again... and again... and again... messing with your business logic, and stressing your server. this article will show you, with one line of code, how to protect your code against this stupid user trick.

Go visit:
Http://aspzone.com/articles/207.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.