cookies work just fine with NS4x.

Here's one I use:
setcookie ("LastVisit", time(), time()+7776000);


Chad Day wrote:
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

Reply via email to