Well Matt, I think you are stepping outside the realm of Coldfusion when you are talking about objects and controllers. Sure CF is going a little more towards the OO methods of programming, but in a very lose sorta fashion. your CFC is in most ways a controller in that you do not write any display code within the CFC's and they are used to control the many aspects of what your application does. CFC's would not actually be referencing objects outside of themselves as much as they would reference objects within themselves. You do of course have to give them some input so that they can do their work. In your example of a login request, you would invoke the component and it's function that checks the users credentials against the database and pass the username and password in your invocation which passes it in the arguments scope. At that point, the CFC would pass back that they were indeed authorized to be there or not and you would have your code at the top of your .cfm file setting their session variables or whatever else you wanted. Hope this made sense.
Doug B. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265402 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

