Hi,
I am actually trying to display my cookies on the screen, but its not working in Safari.
My Code looks like this:
<?php
//setcookie("name", "john apple", (time()+(60*60*24*356)));//1 year
if(isset($_COOKIE['name'])){
$value=$_COOKIE['name'];
echo "<pre>".$value."</pre>";
}
On my PC, its working (firefox), but on IOS, it doesnt work.
F.ex., first, I create a cookie called "name" with setcookie(). Then, I comment out the setcookie() function, because the cookie is already set. I upload the file and reload the page. In Safari, the cookie is only displayed. But if I open a new tab and try the same there (just open the php file), the cookie is not displayed. The same happens if I close Safari and reopen it.
The Cookies are not stored on my device. I even set in the settings the cookie permissions to "allow all".
But in Firefox, everything works (on my PC).
Hope you can help me