Improved session id handling for road stacks and transaction