I'm still becoming a developer. First of all I can't show any code related to this problem because I'm not allowed to do so...
With the new cookie policy from Chrome (and others) the SameSite
attribute must be set to None.
My problem is, that I can't find any code where the cookies are set. It comes from a server. I searched the git repositories of the company I'm currently at. I searched the internet for every solution possible. The problem is finding the right place to put it in. The code is written in php which I haven't learned so far.
The said cookie comes from another website and I unable track it down.
App/Config/core.php
. – HandsomeSameSite
value for your cookies, butSameSite=None; Secure
is only required if you need cookies available in a third-party / cross-site context. If the cookies are only intended for visitors on your site, you should be looking atSameSite=Lax
orSameSite=Strict
. – HarvellIt seems that the server ('cdn') is sending it to the website
- what does this mean? Maybe you should back up a bit - how do you know your site sets cookies? What CDN are you referring to? PHP usessetcookie()
to set cookies, so if you grep your sources for that you will find wherever CakePHP does that. – Michey