I have a script that sets variables to cookie parameters. This cookie is then called up in another script as a superglobal in order to authenticate links to protected areas.
When I set the cookie like below everything is fine (the links work and the material is protected:
use setcookie($cookie_name, $cookie_value, 0);
but if I were to add any other parameter to the setcookie() function- like expire, path or domain- the call to $_COOKIE no longer takes any action? Why would this be do you think?
I'm running PHP 4.2.2, Apache 2 and Windows XP.
Thanks for any tips.