how do I set the path of this cookie to my whole site "/"? setcookie("name$id$uid", $id, $month); currently this is what I have. How do I format the above to set the cookie on a global scale for the entire site.

setcookie("name$id$uid", $id, $month, '/');

kk guess like so. ty

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.