>If you show us some code of how you are putting the CFC instance into a
>persistent scope then we might be able to see what's going on.

<cflock timeout="2" throwontimeout="yes" type="exclusive" scope="application">
        <cfscript>
                if(not isDefined('Application.myCFC'))  {
                        
Application.myCFC=CreateObject('component','components.myproject.mycfc');
                }
                Request.myCFC=Application.myCFC;
        </cfscript>
</cflock>

I've tried adding the init() call to the above routine and removed the call to the 
init() function in the constructor of the
CFC. Same results no matter what I do.

>i.e. are you checking for the existence of your CFC in the persistent
>scope on each request or are you just instantiating it from scratch each
>time which makes the persistent scope redundant?"

I wish that where the case, so I can put this to bed, but it's not.


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