Doug... he asked about "INVOKE" use of code to assign DSNs... to do it the
way I suggested, you wouldn't use CFInvoke... you would instantiate them.
You create an object from the CFC rather than using CFInvoke. Then you use
the "object.init("siteDSN")" method when or after creating the object. Then
when you use the same object all over your code, you don't have to keep
passing the DSN.John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Thursday, September 30, 2004 12:02 AM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Encapsulation and Request vars (was Function Libraries) now he maybe instantiating CFCs all over the place in his code, eh? Where does he get this DSN value for each of these calls? Doug ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
