Sean,

I've been using a similar technique to the one you listed below, but I've
been using the variable name "private" instead of "instance". Do you foresee
a time when using the variable name "private" might cause me a problem?
(i.e. Macromedia would make "private" a scope or something?)

> There's no hard and fast rule here: if you want to protect your
> instance data from outside interference, use something like this:
> 
>       <cfcomponent>
>               <cfset instance = structNew()>
>               <cffunction...>
>                       ...
>                       <cfset instance.username = ...>

Thanks,
Dan

----------------------------------------------------------
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).

Reply via email to