O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required