Logo Head Picture  free e- mail 
 thaimail 
 hotmail 
 yahoo 
 siam2you 
 thammasat
 Home  Visual Basic Active Server Page  JavaScript   Network   Other 
 Active Server Pages.











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 2000 by Infinite Software Solutions, Inc.
Trademark Information

ASP - Link
ASP reference   
B   
C   
D   
E   
F   
G   
Last update: Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.