yup, i got that error.
in my case, if the sub transaction failed then i wanted the outer one too. so heres what i did:
 
<cfset docmitt = true>
<cftransaction action="">
<cftry>
   
       <!--- outer level queries go here --->
 
    <!--- function with subtransaction returns true or false --->
    <cfif not functionwithsubtransaction()>
           <cfthrow>
    </cfif>
 
    <cfcatch>
    <cfset docommit = false>
    <cfcatch>
</cftry>
 
    <cfif  docommit>
            <cftransaction action=""/>
    <cfelse>
              <cftransaction action=""/>
    </cfif>
 
</cftransaction>
 
 
Adrian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Timothy Ford
Sent: 17 June 2004 15:01
To: [EMAIL PROTECTED]
Subject: [CFCDev] Nested cftransaction error in CFMX 6.1

Anyone ever get this error with nested transactions in 6.1?
 
 

Nested transactions are not supported.

You cannot nest a cftransaction tag within another cftransaction tag. Check for a cftransaction tag on the page that called the CFC.
 
They worked in 6.0. Anyone know of a resolution?
 
Thanks
Tim  

Reply via email to