Maurice Marrink wrote:
Assuming B has a reference to Page A, wont A be Serialized with B,
when you go to C, and both still share the same serialized object?

When B is serialized, so is A, and serialization makes sure the instances to your object are kept shared....

But when A is serialized alone (and if A does not have a reference to B), then when A is deserialized you'll have a copy of the instance you gave to B and the reference is no longer shared.

 So the best thing is that you shouldnt depend on shared variablen.

Ok so there are a lot of gotchas :)

Yep!

Maurice

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to