The ASP ObjectContext Object

The ObjectContext object is used to commit or abort transactions. For an .asp page to commit transaction, @TRANSACTION directive should be present in the script.

Syntax :



Methods Description
SetAbort Aborts the transaction initiated by the ASP script. 
SetComplete Declares that there is no reason for the transaction not to complete. So if all the components taking part in the transaction also call SetComplete method then the transaction will complete.


Events Description
OnTransactionAbort This event occurs when the transaction is aborted.
OnTransactionCommit This event occurs when the transactional script's transaction is committed.

asp asp 3.0 asp objectcontext object objectcontext active active server pages built-in asp objects built in components collections collection component method methods object objects model pages property properties reference

Back To Top
© 1998 - 2024
Version 7.21 | Advertise on this site