I'm using the following code to set a cookie:
setcookie("ID","myname",time()+31536000,"","mydomain.com")
I set this cookie from mydomain.com/cons/
The cookie is not available to scripts in the root of the site mydomain.com.
Is there a limitation so that if you set a cookie in a sub-folder, it won't be available in other folders?
Thanks for your help