Demo Application

I have created a demonstration application that shows how to examine the contents of the session and application variables, and how to add session and application variables. Four pages perform the following:

  • View the active session variables

  • View the active application variables

  • Create and add a session variable

  • Create and add an application variable

A main screen enables users to select which of these four pages they want to go to, and this can be seen in Figure 17.1.

Figure 17.1. The main menu for the State Management Demo application.

Viewing the Session Variables

The ShowSession.aspx file is where users will go when they ...

Get Special Edition Using® Microsoft® ASP.NET 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.