Well, you could have some object aggregation. So, for example, the user CFC
could have an instance of the newsletterManager cfc. So, if a new user is
created, and they've requested access to certain newsletters, you'd just run
the functions from within the user cfc. Or, if you instantiate a user as an
object, there should be a "getId()" function that can be called once it's
been instantiated. Then, use that id in a separate call to the newsletter
cfc.

On 2/10/06, Aaron Roberson <[EMAIL PROTECTED]> wrote:
>
> Thanks for the link!
>
> Actually, I do know how to get the unique ID with the MAX() function in
> SQL.
>
> I guess my real question is how do I pass the unique ID from one
> method in the users component into another method in the newsletter
> component? Can anyone help with that?
>
> -


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231969
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to