3 ms·
That's not how cookies work. See mdn which says about the domain flag: "If omitted, defaults to the host of the current document URL, not including subdomains."
by SahAssar 6y ago
That's not how cookies work. See mdn which says about the domain flag: "If omitted, defaults to the host of the current document URL, not including subdomains.": https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Se...