DataTables SameSite cookies warning on Javascript console
DataTables SameSite cookies warning on Javascript console
I am seeing this on the Javascript console. They all reference DataTables:
Indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute
Because a cookie’s SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery.
Resolve this issue by updating the attributes of the cookie:
Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.
Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.
3 cookies
Name Domain & Path
PHPSESSID .datatables.net/
Vanilla .datatables.net/
Vanilla-tk .datatables.net/
3 requests
datatables.min.css
datatables.min.js
dataTables.dateTime.min.js
Learn more: SameSite cookies explained
Answers
Could you provide more information, please, such as where do you see that? DataTables doesn't use cookies.
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin