Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
|
You can you create one of these yourself quite easily. As you may already be aware, the BO has the ability to serialize and deserialize out-of-the-box. So if you want to save these sesssions off to disk you can. Now if you are just going to hold these in memory then this is not necessary. In any case, you can create a Dictionary of keys and BOs that are static at the application session level so that they are shared across all sessions. So in the global.asax I would instantiate my dictionary and when a reference is made and a key does not exist, then add one to the cache. You could also load all of them up at the beginning as well. But to do this, just create a static dictionary that is stored off as an application variable and then manipulate the cache as needed during the life of the object.
|