Building your own session management is no trivial task. First, you'll need to consider what kind of table structure you'll need to use. Then you'll need to construct a .NET class that has some kind of collection in it so the pages can interface to the data. A major factor on much of this is that you will have to determine whether or not you want to suppose objects in your custom session management. The built in session management system supports saving objects (this topic in itself can spark religious debates). If you are willing to make the sacrifice to only store simple types in your session data than it's really not that hard. You could extend one of the existing collection classes for use as your session value collection. Then you just need to plug in the storage and retrieval of the data within the page. There are some simple techniques that you can use that I can explain later once you get to that point.
Peter
------------------------------------------------------
Work smarter, not harder.
|