Remove legacy session variable set