Well, I haven't made much progress, but I have found a workaround. I create a blank template and then call it at the end of everything I do:
PHP Code:
eval('print_output("' . fetch_template('BLANK') . '");');
I haven't been able to find exactly how my other pages that don't use print_output are updating the session table, but they are. I just hope this doesn't bog down the site any, as these pages are pretty active.