about Ispostback

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

The first time a page is fetched will IsPostback return false which I can
understand.
Now if I submit the same page to the server will IsPostback return true
which I can understand..
But webb is stateless so how can the server remember after I have clicked on
a sumbit button that this page is not the first time it was fetched. So is
this information stored in the view state.?

//Tony
 
The first time a page is fetched will IsPostback return false which I can
understand.
Now if I submit the same page to the server will IsPostback return true
which I can understand..
But webb is stateless so how can the server remember after I have clicked on
a sumbit button that this page is not the first time it was fetched. So is
this information stored in the view state.?

It could also just check if it is GET or POST, but I do think that
viewstate is likely.

It should be possible to see what is in viewstate to confirm.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IspostBack Problem 3
about enum 3
Ispostback 1
!IsPostBack problem 2
IspostBack question 5
Using IsPostBack in Page_Load of dynamically added control 2
AJAX and IsPostBack 5
Selectedindexchanged on page load 1

Back
Top