R
Robert Cramer
What does it mean - literally - to "post" a page? I understand that we have
the HTTP protocol and it's POST operation going on behind the scenes... but
I'm wanting to know what it means to "post a page to a page" -- specifically
in terms of what ASP.NET does with the HTTP POST.
To help clarify the understanding I am lacking and asking for here... I once
wrote an HTTP server using the Win32 API and it would sit there and listen
for HTTP POSTs on a specific port and respond accordingly. So I know that
nuts-n-bolts level of activity. But what I'm unclear on is what is going on
with ASP.NET. I suppose IIS is what is analogous to my HTTP listener... and
IIS is listening to port 80 (by default) and then, depending on the
requested resource, passes off the request to ASP.NET - and down the
pipeline it goes. And that is exactly where I get lost. What does ASP.NET do
to "post a page to a page"?
With ASP.NET, we have these concepts:
--- "postback" (ala .IsPostBack)
--- we have the idea of "posting a page to another page"
I understand that with the HTTP Post, some data is received by ASP.NET -
including an aspx page name. What is done with that page name at the end of
the point in the ASP.NET pipeline where something is done with that page
name? What is that something? Is it simply that ASP.NET runs any code-behind
logic of the requested page and sends it back down to the browser? Is it
anything more than that? And how does ASP.NET how to correctly set the value
of .IsPostBack?
Thanks.
the HTTP protocol and it's POST operation going on behind the scenes... but
I'm wanting to know what it means to "post a page to a page" -- specifically
in terms of what ASP.NET does with the HTTP POST.
To help clarify the understanding I am lacking and asking for here... I once
wrote an HTTP server using the Win32 API and it would sit there and listen
for HTTP POSTs on a specific port and respond accordingly. So I know that
nuts-n-bolts level of activity. But what I'm unclear on is what is going on
with ASP.NET. I suppose IIS is what is analogous to my HTTP listener... and
IIS is listening to port 80 (by default) and then, depending on the
requested resource, passes off the request to ASP.NET - and down the
pipeline it goes. And that is exactly where I get lost. What does ASP.NET do
to "post a page to a page"?
With ASP.NET, we have these concepts:
--- "postback" (ala .IsPostBack)
--- we have the idea of "posting a page to another page"
I understand that with the HTTP Post, some data is received by ASP.NET -
including an aspx page name. What is done with that page name at the end of
the point in the ASP.NET pipeline where something is done with that page
name? What is that something? Is it simply that ASP.NET runs any code-behind
logic of the requested page and sends it back down to the browser? Is it
anything more than that? And how does ASP.NET how to correctly set the value
of .IsPostBack?
Thanks.