P
PJ6
AJAX is great, but in order to reference specific class instances
server-side, I have to maintain a static function to return them from a
unique identifier. Only... the consumer controls themselves get disposed
after the page loads! The object(s) I'm concerned with are not controls
themselves, but now I'm faced with trying to decide when to dispose them
without being able to pay attention to disposal of the consumers.
I suppose I could persist a single instance of each kind of class instanace
in memory, but I'm worried that I'd then have to make all of them
thread-safe.
I'm sure I'm not the first person to run across this problem. Any
sugestions?
TIA,
Paul
server-side, I have to maintain a static function to return them from a
unique identifier. Only... the consumer controls themselves get disposed
after the page loads! The object(s) I'm concerned with are not controls
themselves, but now I'm faced with trying to decide when to dispose them
without being able to pay attention to disposal of the consumers.
I suppose I could persist a single instance of each kind of class instanace
in memory, but I'm worried that I'd then have to make all of them
thread-safe.
I'm sure I'm not the first person to run across this problem. Any
sugestions?
TIA,
Paul