Reading cookie in Safari

I have 2 pages.
The 1st one is set.php

<?php setcookie('myCookie', '1', time()+10); echo '<br><a href="set.php">set.php</a><br><a href="read.php">read.php</a>'; ?>
The 2nd one is read.php

<?php echo $_COOKIE['myCookie']; echo '<br><a href="set.php">set.php</a><br><a href="read.php">read.php</a>'; ?>

I like to read the cookie in read.php,

I can read the cookie in chrome/fireFox/opera, but not Safari.
How can I make it readable in Safari?

The browser has not affect on server-side code. Your problem lyes elsewhere.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.