// Huge block of stuff clobbered together in an outer transaction lr_start_transaction("01_HugeTransaction"); // Do stuff in inner transactions
lr_start_transaction("01A_SomeTransaction"); web_reg_save_param(...); web_custom_request(...); lr_end_transaction("01A_SomeTransaction", LR_AUTO);
lr_start_transaction("01B_OtherTransaction"); web_reg_save_param(...); web_custom_request(...);
lr_end_transaction("01B_OtherTransaction");
lr_start_transaction("01C_ThirdTransaction"); web_custom_request(...); web_custom_request(...); lr_end_transaction("01C_ThirdTransaction", LR_AUTO);
lr_end_transaction("01_HugeTransaction", LR_AUTO);
You can also use sub transactions but I don't get along well with those.