Hello andyb,
I wrote our own version of webstate which is also tied to basic security features sometime ago.
That lets you either save state at the session or program level.
We group html pages in a single .p thats more of a stand alone program so that state and some security aspects can be managed per program.
We made our own customized copy of web-disp.p because all and every request go though this single entry point and its a very strategic place, so to speak.
That makes a call to load state from the database before calling the web object and saves state to the database after it has finished
In between all state read/write operations are done from memory.
It lets you save string fields and even large fields (separately) but theres nothing about saving temp-tables at least not directly.
But thats because some things that you may have done for example in GUI may not be suitable in a web app.
Contact me privately if you're interested in the programs.