If it is a second-level domain name of the current domain name, it seems to be possible, otherwise it is not supported. This is a requirement in the security specification, and browser implementers will not do this unless you make a browser yourself.
HTTP specification constraints prohibit cross-domain reading and writing of cookies. Although the browser received the cookie sent by the server (which is illegal), it simply ignored it.
If it is a second-level domain name of the current domain name, it seems to be possible, otherwise it is not supported. This is a requirement in the security specification, and browser implementers will not do this unless you make a browser yourself.
Set up on your frontend page
Pay attention to whether different cookie-names are set in the background
HTTP specification constraints prohibit cross-domain reading and writing of cookies. Although the browser received the cookie sent by the server (which is illegal), it simply ignored it.