create session context in scheduler