I want to make the cookie accessible for the entire root folder, how can I do it ??
<?php
$value="test";
setcookie("test",$value, time()+3600, '/', NULL, 0 );
if($_COOKIE['test']=="test")
{
echo 'ok';
}
else
{
echo 'not ok';
}
It works only for the particular folder where the cookie is declared ,
ie., localhost\proj\app\views\settings\client*
but I want to make accessible on the folder
localhost\proj\app\views\*
How can I do this ?