In ASP.Net the whole idea is to treat a form like you would a windows form.
That is, the same page handles all of the events. Thus, in ASP.Net the
forms are set to POST to themselves and a built in property is available
called PostBack.
Before .Net I never even considered using a postback. All of my forms would
consist of Form1 where the user enters the information, then Page2 where the
information was processed and the user was given a response.
Since .Net I've realized the advantages of that approach and most of my
forms postback to the same page.
So is it a .Net only thing. Not at all. As long as the form's Action
property is set to the same page, it's what I'd call a postback. Most of my
forms look like this......
<%
if request.form("postback")="true" then
'note that true is in quotes because it's a string not a boolean
Call processTheForm
end if
%>
<form method=post action="thisSamePage.asp">
<input type=hidden name=postback value="true">
etc...
</form>
"Matthew Louden" <ma*******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I want to know if the PostBack concept applies to HTML web-based forms,
regardless of what programming technologies we use: For example, ASP,
ASP.NET, Java, CGI, etc...
PostBack means to send the HTML form to the web server? Since most of the
time I heard this term in ASP.NET circle, thats why I raise this question.
Please advise. Thanks!