store a reference to the txid within the session

Ugly hack, but at least plain sessions can provide enough information about a tx they may or may not be a part of