Re: Weirdness with setcookie() (3rd time - come on people :)

From: Date: Tue, 14 Nov 2000 01:05:28 +0000
Subject: Re: Weirdness with setcookie() (3rd time - come on people :)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25077@lists.php.net to get a copy of this message
Hi April, I know IE has some bugs with handeling cookies, but I wrote them off in my mind because I always specify all arguments to setcookie() and doing that prevented the bug. You might want to search the list archive for this IE issue if you want. -jeremy brand http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more --------------------------------------------------------------------- We cannot do everything at once, but we can do something at once. -- Calvin Coolidge On Mon, 13 Nov 2000, April wrote: > Date: Mon, 13 Nov 2000 18:54:53 -0600 > From: April <april@farstrider.org> > To: Joao Prado Maia <jmaia@kefta.com>, jeremy brand <jeremy@nirvani.net> > Cc: Joao Prado Maia <jmaia@kefta.com>, php-general@lists.php.net > Subject: Re: [PHP] Weirdness with setcookie() (3rd time - come on people :) > > I'm glad I glanced in this folder. I'm having the same exact problem. > Basically, sometimes it's set, sometimes its not. Worst of all, it'll show > up as set and not empty (aka, pass through if's requiring both isset() and > !empty) then will not output any sort of value, not even a space. > > I'd figured it was all my fault, or that it was something screwy with IE, > and was tearing my hair out. > > Could it be the same thing you guys are talking about? > > > ----- Original Message ----- > From: "Joao Prado Maia" <jmaia@kefta.com> > To: "jeremy brand" <jeremy@nirvani.net> > Cc: "Joao Prado Maia" <jmaia@kefta.com>; <php-general@lists.php.net> > Sent: Monday, November 13, 2000 6:41 PM > Subject: Re: [PHP] Weirdness with setcookie() (3rd time - come on people :) > > > > > > On Mon, 13 Nov 2000, jeremy brand wrote: > > > > > Make sure you pass all options to setcookie that you require: > > > > > > int setcookie (string name [, string value [, int expire [, string > > > path [,string domain [, int secure]]]]]) > > > > > > If you want it to not be a session cookie, you have to set an expire > > > time. You may also want to set a path, and a domain (remember, > > > the leading period -- .mydomain.com). > > > > As I said on the email, I already tried with all the values, and with just > > the "name" and "value", and nothing works. I also already tried > > setting > > the domain to ".blah.com" and nada. > > > > The same code that didn't work now with PHP4.0.3 (no patch level > > thingie) used to work perfect under PHP3.0.15. > > > > This is driving me crazy, and nothing seem to fix this problem. > > > > Joao > > > > -- > > Joao Prado Maia > > Web Developer > > Kefta, Inc. > > T: (415) 391-6881 ext 8008 > > F: (415) 391-7079 > > > > > > -- > > 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 > > > > > > > > > > > -- > 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 (#25077) next »