ASP.NET offers a number of places to store state, both on the client and server. However, sometimes it's difficult to decide where you should put things and how to make that decision.
You choices for state management include: Cookies, Application, Session, ViewState, and Cache
Whitepapers/Blogs
Videos
Enjoy! Be sure to explore the sub-topics.
Revision number 2, Wednesday, February 13, 2008 9:12:44 PM by
This is not the most up to date version of this article. The most recent version can be found here.
You must Login to comment.
|
Mon, Oct 6, 2008 6:53 AM
by uniquesaiful
|
Cool main page for state management
|
|
Tue, Nov 18, 2008 3:31 AM
by cliquerz
|
Nice 1
|
New
Mon, Feb 4, 2008 8:00 AM
by shanselman
|
Session
The Session Object is one of the easiest to use and most useful aspects of ASP.NET. There are some caveats to its use when building very large systems and Web Farms, so it pays to be educated. How To Basics of ASP.NET Session State- Start here with this excellent
|
Revision #10
Tue, Oct 7, 2008 8:40 PM
by mbanavige
|
ViewState
ViewStateis the mechanism that allows state values to be preserved across page postbacks. Because of the stateless nature of web pages, regular page membervariables will not maintain their values across postbacks. When we need a page variable to maintain its
|
Revision #6
Mon, Feb 4, 2008 8:00 AM
by aspsmith
|
Application and Cache
The Cache and Application objects provide broader scope than the Session object and the data is available to all the classes within theASP.NET application. The Basics ASP.NET Application State Overview ASP.NET Caching Overview How to: Save Values in Application
|
Revision #5
Fri, May 23, 2008 8:17 AM
by XIII
|
Cookies
Cookies are small amounts of text that can be stored on the client pc by the browser. The cookie can be accessed both at the client through the use of Javascript and also at the server. While cookies can be a convenient way to store small bits of state information
|