> Is it possible to dynamically determine if the code being 
> processed is in the middle of a CFTransaction?
> 
> For instance:
> <cftransaction action="begin">
>       <cfquery/>
>       <cfif InTransaction>
>            Show Message
>       </cfif>
> </cftransaction>
> 
> I make a call to a custom Error Handler tag in a transaction, 
> and need to know if a RollBack needs to be done or not. I'd 
> rather not have to create a new attribute/flag for the custom 
> tag, if it's not needed.

I don't think there's a consistent, reliable way to determine whether a line
of code is within a transaction.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to