Hey all,
I was playing around with the setcookie() function, specifically: how the script reacts to manual altering of the cookie and deletion of the entire cookie (it's for a user auth system, so I need some security).
I made a function to check whether or not a cookie exists (through checking $HTTP_COOKIE_VARS). All was well, I set the cookie, and the var contained the correct info.
The odd thing however is, if I manually deleted the cookie from C:\Windows\cookies
, $HTTP_COOKIE_VARS keeps passing the information as if the cookie were still there. Any ideas? Im running PHP 4.0.6 on windows with apache 1.3.20 and IE 6.
Cheers,
Sid