Re: HOWTO: Typed Session Variables in ASP.NET
Posted: 8/18/2005 2:19:51 PM
By: Comfortably Anonymous
Times Read: 1,595
0 Dislikes: 0
Topic: Programming: Web Applications
Parent Message
Your approach is interesting. I cam across another, completely flip-side method of using typed session variables can be found at http://www.codeproject.com/aspnet/typedsessionstate.asp.

It sets up all the variables as properties, wrapping the Session variables inside a State class. About the same amount of set-up work, but results in cleaner code.

Use whichever fits your coding style better.
Rating: (You must be logged in to vote)