Understanding State Management

As I told you at the beginning of this chapter, ASP.NET applications have to manage their state in a different way than client applications. State is managed via some special objects: Application, Cache, Context, Session, and ViewState. All of them work with the Object type, and you use them like dictionaries, so they accept key/value pairs. The next subsections give you explanation and examples.

Get Visual Basic® 2010 Unleashed 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.