Form submission jump
Reason for writing:
The poster’s html skills are average, and I accidentally remembered what people around me often say Submitting the form will refresh the page. I have nothing to do, so I just thought about the reasons
After thinking about it for a while, I guessed the following:
1. Submit the data first, and after the server receives the data, the browser performs an operation similar to F5
2. Perform data transmission at the same time, and F5
3. Related to the design of the server
4. It is related to the implementation of the browser
5. The agreement stipulates that the page must be refreshed
I feel that these are unreasonable, and I thought about it again and again....
Later I remembered the registration page I had done before. The data was submitted to the server and then redirected to other pages in the background. It was not a page refresh at all. The so-called page refresh may be that there was a problem with the submitted data and it redirected to the current registration page again. It seemed like It is refreshed, but it is actually a normal redirect
Therefore, the author feels that the form submission that people often say in the past will refresh the page is a bit misleading to novices, but it is actually a redirect.
If reproduced, please indicate the source: