Synchronous PostBack

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?
Lawrence AverySystem DeveloperAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
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
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Lawrence AverySystem DeveloperAuthor Commented:
I am using C#.   I am  posting back (submitting).
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
Lawrence AverySystem DeveloperAuthor Commented:
I guess what I am asking - do I have to disable the button so they user won't double submit?
0
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Lawrence AverySystem DeveloperAuthor Commented:
This is on a aspx page. Why would you say " Most of the time it's not a problem " ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.