Forum Discussion
Change cookie domain in HTTP::respond
- Jan 06, 2024
When redirecting (and on cross-domain requests such as fetch()/XMLHttpRequest()) to third-party domains, the browser does not send cookies. Cookies are scoped to a specific domain (and possibly subdomains thereof), because it's a part of internet security, based on Cross-Origin Resourse Sharing (CORS).
Possible solutions for you case, their advantages/disadvantages and how to do it safely, are given on stackoverflow.
the domain part may not need "." as seen in exmaple in mozilla doc:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com