34.2. ASP.NET State Management Techniques
ASP.NET provides several mechanisms you can use to maintain stateful information in your web applications. Specifically, you can:
Use ASP.NET view state.
Use ASP.NET control state.
Define application-level data.
Use the cache object.
Define session-level data.
Define cookie data.
In addition to these techniques, if you want to persist user data in a permanent manner, ASP.NET provides an out-of-the-box Profile API. We'll examine the details of each approach in turn, beginning with the topic of ASP.NET view state.
Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.