Changes to correct the getSessCookie