My Account   Contact Us    
  
» HomeProductsSupportDeveloper CommunityCompany
Nested CFTRANSACTION tags
CFTRANSACTION tags cannot be nested if the inner transaction action is BEGIN

Type: bugprone
Severity: (4)

Incorrect example
<cftransaction>
  <cfquery />
  <cftransaction>
    <cfquery />
  </cftransaction>
</cftransaction>

Resolution

You can't nest <cftransaction> tags where action="begin" in the inner tag.
Explanation

ColdFusion does not allow you to nest cftransaction tags where the action is begin (the default action for cftransaction).

Sign up for our newsletter: | Subscribe with RSS: RSS
© ActivSoftware 1999 to 2005 | Privacy Statement