<%@ TRANSACTION = Required LANGUAGE = "VBScript" %> 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 sub-routine ' will be called if the transacted script commits. ' Note that in the example above, there is no way for the ' script not to commit. Sub OnTransactionCommit() Response.Write "

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

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