What happens on clicking the refresh/reload command on the web browser
Answers
When clicking the reload or refresh button on the web browser of the server, you will ask for a new version of the document loaded at the address mentioned on the address bar of the web browser.
If the web page seems to be Post call then the browser will post the data again.
Answer:Once a request is made to the server from the browser the page is processed. Even if the user cancels or stops the request, the server continues to process the request. If the user reloads/refreshes the page, it's another request that will be executed in parallel with the first request.
Even in the case of PHP, the server isn't actively checking if the user has aborted the connection. The server only knows it's been aborted when it attempts to return the results of the request.
The internet is a disconnected environment. The server doesn't know anything about the browser. The only thing the server knows is a request has been made and it must fill the request.
Explanation: