I'm trying to set Cookies for 7 days or 1 month and 365 days on an entire domain. Like an AM network does.
This did not work
it's only getting set on specific pages
I need it set on the entire domain.
I did look at the examples on http://www.php.net/setcookie
But it's not working. Maybe because I'm on localhost ? donno
Appreciated in advance
This did not work
PHP:
setcookie("final", $example, time()+(60*60*24*365));
I need it set on the entire domain.
I did look at the examples on http://www.php.net/setcookie
But it's not working. Maybe because I'm on localhost ? donno
Appreciated in advance