What is a "Postback"?

Asked

Viewed 1,116 times

4

It may seem like a silly question, but I can’t understand how a postback works, if anyone can explain to me thank you!

  • 2

    Take a look at this link is a good read and helps to understand a lot.

1 answer

1


Postback is when you make a POST request for the same page, then it reloads and with the data you sent it modifies.

Example: You have a page called Login.php or Login.jsp, when the user enters for the first time will have the field for him to enter the email and password, as soon as he clicks on the "Login" button you will post to the same page the Login.php, if the user and password are valid it is redirected to the entry page for example, if they are not valid it will display an error message, or if the page makes a request to itself.

  • 1

    Oops, that was a brief explanation and I managed to understand, thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.