What Is The Difference Between ViewState and SessionState?
Answer / pooooo
Session State contains information that is pertaining to a specific session (by a particular client/browser/machine) with the server. It's a way to track what the user is doing on the site.. across multiple pages...amid the statelessness of the Web. e.g. the contents of a particular user's shopping cart is session data. Cookies can be used for session state.
View State on the other hand is information specific to particular web page. It is stored in a hidden field so that it isn't visible to the user. It is used to maintain the user's illusion that the page remembers what he did on it the last time - dont give him a clean page every time he posts back.
Is This Answer Correct ? | 8 Yes | 0 No |
what is IDisposal interface,IComparable,IEquatable,IFormatable
How is the memory managed in C#.
Is array ienumerable c#?
Explain deadlock?
What does addressof operator do in background ?
How many aware interfaces are there?
How can you clean up objects holding resources from within the code?
What is generic types in c#?
What is alias in c#?
What is thread safe in c#?
What does out mean in c#?
What is difference between struct and class in c#?