This question already has an answer here:
- Check if third-party cookies are enabled 4 answers
My ultimate requirement is to detect if third party is enabled for the client browser because my payment gateway has a different scenario for browsers with disabled third party cookies.
I tried setting up google cookies from within an iframe within my page as below:
<iframe src="http://www.google.com" frameborder="0" style="border:0; display:none;"></iframe>
and was able to create third party cookies from google.
But I need to confirm "Is it really possible to read third party cookie?" because this way I can confirm that client browser has third party cookie enabled because I could read the cookies which google WAS ABLE to create.