Hi all,
I set a cookie in a subfolder of my site, with the following code:
setcookie("userid", $row[id], time()+60*60*24*360, "/","www.domain.com");
I try to access this from my higher level pages, such as domain.com/page.php. It can't access it for some reason though, does anyone know why? I thought the forward slash on the fourth parameter meant that the cookie applied to the whole site.
Thanks,
Mike