Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What Is The Difference Between ViewState and SessionState?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long can a string be c#?

958


What is transparent caching with aop ?

1175


How to implement an object pool in c#.net.

1101


What is a factory in c#?

928


What are the string functions in c#?

1016


Can I use exceptions in c#?

1040


What are circular references?

1004


What is the process of Serialization?

1037


How does one compare strings in c#?

1065


Can properties be overloaded in c#?

1012


What is linq c#?

917


Can we override interface method?

1027


Define acid rule of thumb for transactions in c#.

940


Is hashset ordered c#?

1015


What is the use of parse in c#?

956