Summary

Application and session variables give you a powerful mechanism in maintaining the state of your application and your user sessions. And although this mechanism can be over-used in some cases (thus excessively consuming resources and possibly creating deadlock situations), it is very valuable for the developer.

If you work through these examples in this chapter, you will see how easy it is to use session and application variables. It won’t be long before you are totally comfortable with doing this in your applications.

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.