Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Client-Side First Party and Third Party Cookies

I understand that client-side first party cookies refer to cookies created on the page being browsed using document.cookie. However, I’m having trouble understanding client-side third party cookies. Is this conceptually possible but not practically, as when I try to specify a different domain using the domain parameter with document.cookie, the browser doesn’t save the cookie? Is my understanding correct?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Yes.

Third-party cookies can only be set by set-cookie HTTP response headers (or upon visits to the other site at which time they would be first-party cookies).

Client-side JS has no direct access to them, for reading or writing, via document.cookie or otherwise.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading