Solved

Synchronous PostBack

Posted on 2015-02-01
6
80 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 83

Expert Comment

by:Dave Baldwin
ID: 40583245
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
ID: 40583264
I am using C#.   I am  posting back (submitting).
0
 

Author Comment

by:metro156
ID: 40583267
I guess what I am asking - do I have to disable the button so they user won't double submit?
0
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40583286
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
ID: 40583478
This is on a aspx page. Why would you say " Most of the time it's not a problem " ?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40583485
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
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.

773 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