Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Objects
OBJECT: ObjectContext
The
ObjectContext
object is used to control Active Server Pages transactions which are managed by the Microsoft Transaction Server (MTS). You may either complete (commit) or abort a transaction.
The
@Transaction
directive must be on the first line of the .asp file in order to use this object (see code examples). The
@Transaction
directive causes a transaction to run to completetion unless an abort occurs.
METHODS
SetAbort
Method
The
SetAbort
method declares that a transaction has not been completed and resources should not be updated.
SetComplete
Method
The
SetComplete
method declares that the transaction has been completed and resources can be updated.
EVENTS
OnTransactionAbort
Event
The
OnTransactionAbort
event occurs when a transaction has been aborted for some kind of processing error. The signal of this event will run a handler script in the same file, if it exist.
OnTransactionCommit
Event
The
OnTransactionCommit
event occurs when a transaction has been successfully completed. The signal of this event will run a handler script in the same file, if it exist.
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information