> I have a separate question here. Let's say I have a > session.cart cfc, and a session.checkout cfc. > > I send the session.cart object into session.checkout object > so it can be used for whatever during checkout. > > Ok, if the qty of something changes in the 1st cart object, > is it reflected in the session.checkout object as well? Or do > you have to send the updated cart into session.checkout.cfc > again.
If Session.checkout contains a reference to Session.cart, and something changes in Session.cart, that change will be seen within Session.checkout. If Session.checkout copies a value from Session.cart, that value will not automatically be updated within Session.checkout. But you might want to rethink your objects in any case. Checking out seems more like a method - something you do - than an object - something that has its own methods and data. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233576 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

