• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
EO Object Lifespan / Editing Context
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: why does selecting a parent not make me it's child?
  • Next by Date: RE: EO Object Lifespan / Editing Context
  • Previous by thread: Re: WOResponse setContentStream help needed (variable length data)
  • Next by thread: RE: EO Object Lifespan / Editing Context
  • Index(es):
    • Date
    • Thread