> 
> Taking your example a step farther, lets assume that the 
> determined logic is that the method's will automatically save 
> it once a minimum amount of correct information is set.  How 
> would you maintain the object's state? Through either session 
> or user variables?  Using fields instead of objects, one 
> could just used hidden fields to pass the information from 
> page to page.
> 

Maintaining the CFC would depend on you are using it. Let's say you have
a multi-step edit form. You may want to store the CFC in the session
scope so it persists. On the other hand, if you had a Create Article
form, you may create a local instance of CFC, store the data, and be
done with it.

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc

Email    : [EMAIL PROTECTED]
WWW      : www.camdenfamily.com/morpheus
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to