web/folder1 web/folder2 web/folder3 web/folder4 web/...
and I want to setcookie in the folder1 and folder2
do I have to set cookie twice like this
setcookie("mycookie", "hello", 0, "/folder1"); setcookie("mycookie", "hello", 0, "/folder2");
Am I right this way in set up cookie path in two same level directories?
Thanks!