Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Synchronous PostBack

Posted on 2015-02-01
6
Medium Priority
?
88 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 84

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
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
LVL 84

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
Introduction ( All good things must come to an end ) The original MySQL API has gone away.  It was deprecated (years ago) by PHP in Version 5.5, and removed from PHP in all current releases .  As a result, the issue is upon us today.  It's time to …
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
Suggested Courses

886 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