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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to