MekasDotNet
Skip Navigation Links
Home
---------------
Code Converter
---------------
Downloads
---------------
Forums
---------------
ReferenceSites
-------------
Contact Us
Posted By: Sai Meka

Q1: Asp.Net View State
Ans: ASP.net web page to persist changes to the state of a webform across post backs.

The view state occurs when the page has been posted back.During this stage, the view state data that had been saved from the previous page visit is loaded and recursively populated into the control hierarchyof the Page.

Ex: Load the state codes in a combobox. when the page refreshes the state code won't appear in a combobox if we didn't load state codes in page load for each refresh. If we make view state = true it is not necessary to load the state codes for each post back.

Q2: Post Back
Ans: ASP.NET Page infrastructure is able to see which control was clicked, changed, or whatever the postback generating action was, and is able to react apppropriately when the page is reloaded after passing through the server a second time.

Q3: Session State
Ans: A session is defined as the period of time that a unique user interacts with a Web application. Active Server Pages (ASP) developers who wish to retain data for unique user sessions can use an intrinsic feature known as session state.

Ex: Session("Stocks") = "MSFT"
   
Your Feedback:
Post Name:
Post E-mail:  
Post Comment: