Well, one thing is clear, that something is being reinitialised when you
don't want it to be.

Do you have "if IsDefined" around your session.myObj.init()?

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Ian Skinner
> Sent: Monday, October 20, 2003 6:35 PM
> Subject: [CFCDev] Help with CFC and scopes.
>
>
> I am having trouble with inconsistent values in instance variables.
>
> I have a CFC/object stored in the session scope. that is a conglomerate of
> several component CFC/objects.  The CRC's also contain instance
> data stored
> in the "variables" scope.  I am changing the value of one of
> these instance
> variables in an action page of a form.  Outputting the value immediately
> after it is change, shows it containing the correct new value.  But, when
> the applications returns to the main display page, the value is unchanged,
> it still shows the default value set in an init() function when the
> CFC/object was first created.
>
> I can't make heads or tails of this, any help would be most appreciated.
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
>
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
> ----------------------------------------------------------
> 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).
>
> 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 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).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to