Cookie handling, NS 4.x?
| From: | Chad Day | Date: | Mon, 09 Dec 2002 20:40:18 +0000 |
| Subject: | Cookie handling, NS 4.x? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127547@lists.php.net to get a copy of this message | ||
I am having a fairly confusing problem with setcookie() in NS 4.x.
My script:
nscookie.php:
setcookie("NSUSERNAME", 'cday', time()+2592000, '/',
".mydomain.com");
Header("Location: nscookie2.php");
exit();
nscookie2.php:
echo $_COOKIE[NSUSERNAME];
In IE (all versions I have tested), this works fine.
In NS 7, this works fine.
In NS 4.7 and 4.8 .. nothing is returned. No cookie is set in the
cookies.txt file at all.
Can anyone tell me why? I've been poking around the PHP manual pages but
haven't come across anything let.
Thanks,
Chad