suspendTransaction
Suspends the timing of a transaction.
void suspendTransaction(const string &id);
Parameters
id: The identifier of the event
Return Value
None.
Remarks
This call, together with resumeTransaction, is used to exclude code from a timed transaction.
Example
startTransaction("logon");
// Step one: send username & password to server
...
// Get response from server and extract the server alocated user ID
...
suspendTransaction("logon"); // stop timing
// Using the returned user ID, get user authentication string from external database (SLOW!) e.g. persistent cookie value
...
resumeTransaction("logon"); // resume timing
// Send authentication string to server
...
stopTransaction("logon");
// Logon transaction complete
See also: endTransaction