10-07-2009, 02:05 PM
|
#6 (permalink)
|
|
The Contributor
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
|
I wouldn't recommend storing the singleton itself within the global session space as this will eventually lead to excessive server loading with all of the singleton data ....
The easier thing to do here is store only the configuration you are using for the Singleton and then recreate it on the next page load
If this is impossible as you are storing to much information in your singleton, then you need to rethink your code structure as it is flawed because you are relying heavily on data that may not be 100% accurate
|
|
|
|