Understanding State Management

As you read at the beginning of this chapter, ASP.NET applications have to manage their states 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 because they accept key/value pairs. The next subsections explain this and provide examples.

Get Visual Basic 2015 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.