RE: [PHP] setcookie() in various browsers..
| From: | Chad Day | Date: | Mon, 10 Feb 2003 14:12:03 +0000 |
| Subject: | RE: [PHP] setcookie() in various browsers.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135058@lists.php.net to get a copy of this message | ||
Following up from Friday.. no replies over the weekend.. can anyone help?
Thanks,
Chad
-----Original Message-----
From: Chad Day [mailto:cday@atpco.com]
Sent: Friday, February 07, 2003 3:02 PM
To: php general
Subject: [PHP] setcookie() in various browsers..
This is with PHP 4.2 and register_globals off.
I am setting cookies and starting a session in the following fashion:
setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".$dn");
where $dn = mydomain.com
I want the cookies accessible sitewide .. at www.mydomain.com, mydomain.com,
forums.mydomain.com, etc.
in IE 6.0, and NS 7.0, it seems this is being accomplished correctly.
In NS 4.8, the cookies are never even getting set. Can anyone tell me as to
why? I've been prodding around cookie docs and trying to find something
that works in all browsers, and a lot of people seem to have the same
question..
Thanks!
Chad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php