Difference Between Page Refresh and Page Writeback

My question is: what is the difference between refreshing the page (if I press f5) and postback (if I click the button)?

Can anyone tell me?

Thanks in advance.

+7
source share
3 answers

Refresh means a complete reload of the page without any form data. This is essentially an HTTP GET .

Message back when the page is sent by itself (via form action="" ). This is essentially an HTTP POST .

+13
source share

Allows you to have the actual difference between the update and explicitly send the page:

1) Updating does not mean to send the page using the get method. (You can check it with response.write request.form ("some input type")).

2) The difference is related to the data sent to the server: in the case of an explicit form of submission, it is presented with the last value (i.e., it recognizes changes in the form elements) But in case of updating, the form is sent with the default value. (T. E. If you change the value of a form element, it will not be displayed on the server.)

+4
source share

when the page is refreshed, which means that the page sends a request to the server without data , which means HTTP GET , but in another case, suppose the event is fired, which causes a postback after the page is fully loaded into the browser, if we press f5 or do refresh , then it will send personal data using request instance , this means that again an operation will be performed for this data server ... when you take an online break after selecting the item and click the accepet button, you will get the full price, now again if you update this selected ele UNT, he will go back to the server, which means that you buy the same thing twice ..... I guess now you get all that I want to say ...

  in when page is postback then code of that page again compile and also processing `request data`. this process will going on 
0
source share

All Articles