Solved

Synchronous PostBack

Posted on 2015-02-01
6
76 Views
Last Modified: 2015-02-02
Does a synchronous postback  cause a web page to freeze out the user from interacting with the webpage?

Thus you can not click on the submit button until the response comes back from clicking the button the first time.
Is this true?
0
Comment
Question by:metro156
  • 3
  • 3
6 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Probably but you haven't mentioned what language or method you are using.  However... it may not stop the button from being clicked, it just delays the second response.
0
 

Author Comment

by:metro156
Comment Utility
I am using C#.   I am  posting back (submitting).
0
 

Author Comment

by:metro156
Comment Utility
I guess what I am asking - do I have to disable the button so they user won't double submit?
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Yes, you may have to.  On a normal HTML form, the 'submit' button is still active as long at the page is up.  That's why it is often recommended to disable it the first time it is clicked.  Most of the time it's not a problem but that's what you do when it is.
0
 

Author Comment

by:metro156
Comment Utility
This is on a aspx page. Why would you say " Most of the time it's not a problem " ?
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Because 'most of the time' there is no time to make a second click.  The submit is effectively instantaneous.  It's only when the page responds slowly and the user has time to click a second time that it becomes a problem.  I don't think I have any form pages (out of hundreds) that need to disable the 'submit' button.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now