The stacktrace has an array of callers. I would modify his code to check the arrayIndex().
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danilo Celic Sent: Friday, January 16, 2004 10:10 AM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Making sure is not called out of sequence Hi been reading along for a while now, and am having a great time reading. One thought on this particular implementation. I can see how this can detect that test.cfc is part of the stack trace, but what if this CFC was called by another CFC that was called by test.cfc. Will test.cfc still be part of the trac,e but not have a correct check that test.cfc is the cfc that is directly calling this cfc? ---------------------------------------------------------- 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]
