This sounds pretty much like the HTML browser idea for the session reconstruction functionality, here:
http://sourceforge.net/tracker/?func=detail&aid=2181838&group_id=189429&atid=929293