<%@ TRANSACTION = Required LANGUAGE = "JScript" %> Simple Transactional Web Page Simple Transactional Web Page

This is a simple example demonstrating the basic structure of a Transacted Web Page. <% // The Transacted Script Commit Handler. This function // will be called if the transacted script commits. // Note that in the example above, there is no way for the // script not to commit. function OnTransactionCommit() { Response.Write ("

The Transaction just comitted."); Response.Write ("This message came from the "); Response.Write ("OnTransactionCommit() event handler."); } // The Transacted Script Abort Handler. This function // will be called if the script transacted aborts // Note that in the example above, there is no way for the // script not to commit. function OnTransactionAbort() { Response.Write ("

The Transaction just aborted."); Response.Write ("This message came from the "); Response.Write ("OnTransactionAbort() event handler."); } %>