EO Object Lifespan / Editing Context
EO Object Lifespan / Editing Context
- Subject: EO Object Lifespan / Editing Context
- From: Goodbye Bill <email@hidden>
- Date: Wed, 16 Jul 2003 04:21:21 -0400
Once an object is loaded, and probably manipulated, within the default
editing context, how long does it remain there? And, do I have to
specifically pass the object from one page to the next in order to keep it
in memory and have it accessible?
EXAMPLE:
Assume, for a moment that a WebObjects application exists with the following
pages:
Signup
Login
Member Home
Update Member Info
Also assume that there is one object, the "Member" object with the following
properties:
User Name
Password
Email Address
Name
In this example, the member would log into the application using the "Login"
page. Once the "Member" object is successfully loaded from the database the
user is bounced to the "Member Home" page. If the user wanted to change
their account information, they would navigate to the "Update Member Info"
page.
QUESTION:
In the example above, does the "Member" object have to be passed from one
page to the next at runtime or does the "Member" object remain accessible
somewhere for the life of the session?
I'm reading books as I write this. Hopefully someone can save me some pain.
Thanks! =S
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.