Hi, I am interested in serializing a scope which I am using to store user sessions. There is a global scope which is the prototype of every session scope, and into which all of the functions needed by the application are loaded. The session scope serves only to receive any values set by the application code during the course of processing a request. This works quite well in a single server, but I would very much like to be able to serialize these scopes for use in another instance (one with an identical global scope).
My question is: is it possible to (efficiently) serialize my session scope such that no values in the global scope are serialized with the session? This would work like ScriptableOutputStream except that it would always choose to stub values that are present in the global scope, instead of just when they have been added as excluded names. If I am not mistaken, this means that I need to be able to work backwards from an arbitrary Scriptable reference to a fully qualified name with respect to the global scope. Can this be done? Any suggestions are appreciated. Thanks, Ben Reesman _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
