Store session when commit transaction