code: public static void invalidateReferrerURLCookie(HttpServletRequest req, HttpServletResponse res, String cookieName) {
          // 240540 getReferrerURLCookieHandler().invalidateReferrerURLCookie(req, res, cookieName); // need to have domain here too
          if (cookieName == null || req == null || res == null) {
              if (tc.isDebugEnabled()) {
                  Tr.debug(tc, "invalidateReferrerURLCookie param is null, return");
              }
              return;
          }
          Cookie c = createCookie(cookieName, "", req);
          String domainName = getSsoDomain(req);
          if (domainName != null && !domainName.isEmpty()) {
              c.setDomain(domainName);
          }
          c.setMaxAge(0);
          res.addCookie(c);
      }
docs: 240540: rather than call webcontainer code, replace the cookie with an empty one having same cookie and domain name and add to response.