Returns the primary WebHare transaction object
LOADLIB "wh::internal/transservices.whlib"; OBJECT FUNCTION GetPrimaryWebhareTransactionObject()
Transaction object for the primary transaction, or DEFAULT OBJECT if no primary transaction was set up
In some contexts, such as a SHTML file parsed by the WebHare webserver, or a template used for conversion, a WebHare database transaction is opened by WebHare when calling the script. This function can be used to obtain the transaction object.