Are synchronous or asynchronous responses more resistant to server problems? Why??
What will be an ideal response?
Although synchronous responses are easier to handle than asynchronous responses, one major drawback is that a script will not continue processing until a synchronous response is received. Therefore, if the server doesn't respond for some reason (perhaps because it is running slowly due to high traffic or maintenance requirements), your web page will appear to be unresponsive. Users can stop the script by clicking the browser's Stop button. However, a synchronous request with thesend()method does not contain any mechanism for specifying the length of time allowed for receiving a response. To ensure that your script continues running if a server problem occurs, you should use asynchronous requests with thesend()method.
You might also like to view...
A(n) ________ control provides a drop down menu with a list of options a user may choose from
Fill in the blank(s) with correct word
Text effects can only be applied to the first paragraph on a page
Indicate whether the statement is true or false
A local area network is only as strong as its strongest link.?
Answer the following statement true (T) or false (F)
Rows can be grouped into head, body, and footer sections.
Answer the following statement true (T) or false (F)