> > 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.... > how can this be? Aren't different pages written to different streams and thereby incapable of sharing objects?
> 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! > ok, I'll go ahead with storing the object in the session directly (as meta-data) and use models in the pages to access this object. cheers, Frank > > Maurice > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]