Why do we use session state?

ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application . HTTP is a stateless protocol. This means that a Web server treats each HTTP request for a page as an independent request.22 Eki 2014

Read more

What is ViewState in C# with example?

View state is the method that the ASP.NET page framework uses to preserve page and control values between round trips . When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64-encoded strings.22 Eki 2014

Read more

What is ViewState web development?

The view state is the state of the page and all its controls . It is automatically maintained across posts by the ASP.NET framework. When a page is sent back to the client, the changes in the properties of the page and its controls are determined, and stored in the value of a hidden input field named _VIEWSTATE.

Read more