Solved

Synchronous PostBack

Posted on 2015-02-01
6
81 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
Web application versus Website IIS setup 3 66
Any open source type dating sites? 2 151
https://adblockplus.org/en/  For business 5 112
Where can I find... 1 43
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

789 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