RE: [PHP] cookies - not working with Nutscrape

From: Date: Sat, 20 Jan 2001 18:43:55 +0000
Subject: RE: [PHP] cookies - not working with Nutscrape
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35825@lists.php.net to get a copy of this message
Yup, the issue really seems to lie with the path and domain..... I may just resort to; header("Set-Cookie: ......") -Brian > -----Original Message----- > From: DanO [mailto:dano@informano.net] > Sent: Friday, January 19, 2001 7:10 PM > To: brian@gfx.cncdsl.com > Subject: RE: [PHP] cookies - not working with Nutscrape > > > > have you checked the date element? > > the browsers differ in how they handle post-y2k dates. > > DanO > > > -----Original Message----- > From: Brian V Bonini [mailto:brian@gfx.cncdsl.com] > Sent: Friday, January 19, 2001 4:09 PM > To: php-general@lists.php.net > Subject: [PHP] cookies - not working with Nutscrape > > > Why would this work in IE but not NN (4.08)? > > If I remove "/" ".mydomain.com" it works with > NN but not IE. Vice versa if I leave it in. > > Thanks, > -Brian > *********** > > <? > if (isset($ecb)) { > if ($ecb >= 5) { > $val = 1; > } else { > $val = $ecb; > $val++; > } > } else { > $val = 1; > } > $expires = mktime(12, 00, 00, 12, 31, 2005); > setcookie("ecb",$val,$expires,"/",".eastcoastbicycles.com",0); > ?> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#35825) next »