J
Joe Fallon
If I add an instance of an object to the Cache what is returned when I
request the item from the cache?
Is it a clone of the object or is it a reference to the object?
I want to know because I would like to go through the instantiaition process
of a New instance only once and then store the object in the cache.
I need to know if subsequent users of the object will be "stepping on each
other" or not.
So, do I have to speciifcally clone the object or is it the a fresh instance
each time I retrieve it?
(Note: once a user retrieves it and works on it, changes are stored to the
user's session. not back to cache.)
request the item from the cache?
Is it a clone of the object or is it a reference to the object?
I want to know because I would like to go through the instantiaition process
of a New instance only once and then store the object in the cache.
I need to know if subsequent users of the object will be "stepping on each
other" or not.
So, do I have to speciifcally clone the object or is it the a fresh instance
each time I retrieve it?
(Note: once a user retrieves it and works on it, changes are stored to the
user's session. not back to cache.)