FGF-College-Work / Forum

:beer: Espaço dedicado a discussões e tira dúvida sobre disciplinas e conteúdo tecnológico.
MIT License
13 stars 4 forks source link

$_COOKIE not working in Safari iOS #161

Open marcialwushu opened 5 years ago

marcialwushu commented 5 years ago

When using the following snippet in Chrome and FF it works fine. But iOS and Safari will not get the cookie.

<?php $current_gemeente = $_COOKIE["Gemeente"]; ?>

I've confirmed the cookie is been placed on developer tools and connecting a iPhone and test with Safari on a Mac. When using a simple W3Schools javascript function to read the cookie it works perfectly fine.

I've confirmed that the path is correctly "/".

If I could I would just get the cookie with Javascript but I need the cookie value for a WordPress query.


STACKOVERFLOW

marcialwushu commented 5 years ago

https://poplindata.com/privacy/itp-21/