--- "Paul Johnston" <[EMAIL PROTECTED]> wrote: > 3) There is no such thing as a constructor in CFC's. To "hack" > (albeit a > known and recommended hack) then you insert code outside > <cffunction> tags, > but inside the <cfcomponent> tags. This code gets run each time > the CFC is > invoked.
Almost right. The code gets run at the time the component is instantiated, not every time it's invoked. Hence it's common (but probably incorrect) name, the "constructor" code. Andy. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
