only look up session adapter setting once