I'm not sure how you could enforve it totally without setting up a package... but you could force a caller to pass a CFC as an argument and examine its type.
The caller would send "this" (although there's no way to force it to send "this" and not something else). In general tho' I would examine the problem a little more - the circumstance sound hincky to me - are you sure you need this? Could you explain more why you need this? Jim Davis > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Bryan F. Hogan > Sent: Thursday, January 15, 2004 3:49 PM > To: [EMAIL PROTECTED] Org > Subject: [CFCDev] Making sure is not called out of sequence > > Does anyone know if it is possible to make sure that a CFC is not called > directly and that can only be called from a certain CFC when the CFC > that shouldn't be called is in a sub-directory of the CFC that should be > the only caller? > > > ---------------------------------------------------------- > 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] ---------------------------------------------------------- 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]