Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Postback in asp.net

Tags:

asp.net

Hello friends it may sound awkward but i am novice to asp dotnet web development realm, so my question is genuine. Please explain me about what is postback in asp.net. I want it's practical meaning and how does it work in the page life cycle while i dp understand ispostBack and i use it as well.

But i am not getting good meaning of post back please explain it to me with good example.

like image 543
NoviceToDotNet Avatar asked Nov 15 '22 09:11

NoviceToDotNet


1 Answers

The wikipedia page on Postback has the answers:

In the context of ASP web development, a postback is another name for HTTP POST. In an interactive webpage, the contents of a form are sent to the server for processing some information. Afterwards, the server sends a new page back to the browser.

This is done to verify passwords for logging in, process an on-line order form, or other such tasks that a client computer cannot do on its own. This is not to be confused with refresh or back actions taken by the buttons on the browser.

For more detail on the page life cycle, see MSDN, there is quite a lot of detail here.

like image 103
Oded Avatar answered Dec 30 '22 18:12

Oded