RE: [PHP] cookies - not working with Nutscrape

From: Date: Sat, 20 Jan 2001 22:16:03 +0000
Subject: RE: [PHP] cookies - not working with Nutscrape
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35853@lists.php.net to get a copy of this message
Actually, it's excepting the time/date. It's the path/domain that is creating a problem. For some reason your original suggestion of leaving the domain out is working today. setcookie("ecb",$val,$expires,"/"); I could not get this to work for the life of me yesterday. Either I was overworked/tired or the Gremlins were out in force. ... ;-) Thank for your persistence..... -Brian ******** > -----Original Message----- > From: Richard Lynch [mailto:richard@zend.com] > Sent: Saturday, January 20, 2001 4:20 PM > To: brian@gfx.cncdsl.com > Subject: Re: [PHP] cookies - not working with Nutscrape > > > > $expires = mktime(12, 00, 00, 12, 31, 2005); > > I think Netscape follows the spec and there's some sort of > maximal reliable > time limit of two years or somesuch -- and anything else is assumed to be > badly-formatted time... > > Try using something a little more reasonable like a year. > > By Day: |By Night: > Don't miss the Zend Web Store's | There's not enough room here... > Grand Opening on January 23, 2001! | Start here: > http://www.zend.com | > http://l-i-e.com/artists.htm > > >

« previous php.general (#35853) next »