|
MTX with ASP pages instead
of Components
ASP pages that need to take advantages of
transactions can without being forced to move the ASP script into a component. First one
of the following directives must be placed on the page:
<%@ Transaction = Required %>
<%@ Transaction = Requires_New %>
<%@ Transaction = Supported %>
<%@ Transaction = Not_Supported %>
Of course the ASP page must include code to
address both committing and aborting the transaction:
<%
SUB OnTransactionCommit()
...
END SUB
SUB OnTransactionAbort()
...
END SUB
%>
|