M
mirek
Hi,
I'd like to know how session variables are stored in the session. I if
put a object to the session and then get it back, is this the same
object or a new copy of it? The session holds references to the objects
or eg. serialized byte stream?
What about garbage collecting if the object lives in some moment only in
session? There is no references in code to that object and the GC can
remove the object.
I'd like to know it because I try to put my objects that are wrappers to
unmanaged code to the session and don't know if is it safe. So far it
works OK but maybe I'm only lucky now.
TIA
Regards,
mirek
I'd like to know how session variables are stored in the session. I if
put a object to the session and then get it back, is this the same
object or a new copy of it? The session holds references to the objects
or eg. serialized byte stream?
What about garbage collecting if the object lives in some moment only in
session? There is no references in code to that object and the GC can
remove the object.
I'd like to know it because I try to put my objects that are wrappers to
unmanaged code to the session and don't know if is it safe. So far it
works OK but maybe I'm only lucky now.
TIA
Regards,
mirek