Home > Articles > Programming > ASP .NET

Managing Session State for ASP.NET

  • Print
  • + Share This
Software developer Paul Kimmel takes a quick look at how to get data into the ASP.NET Session cache, as well as how and why to configure different kinds of session state servers.
Meet Paul Kimmel at the Fall Comdex in Las Vegas at the "Great Debate: .NET or .NOT?" and he'll sign your copy of Advanced C# Programming (Osborne/McGraw-Hill, 2002) or Visual Basic .NET Unleashed (Sams, 2002).
From the author of

Introduction

An HttpSessionState property named Session is a key and value dictionary that can store Serializable objects. The Session property is accessible through an HttpContext or a Page object. You can use the Session object to store information for an individual session, which can be a user, browser, or client application.

The session cache is easy to use, durable (storing data between IIS restarts), scalable for multiprocessor and multi-computer environments, and works with browsers and devices that don't support cookies. Adding data to the session cache is straightforward. We'll take a quick look at how to get data into the Session as well as how and why to configure different kinds of session state servers.

  • + Share This
  • 🔖 Save To Your Account