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

From: Date: Tue, 14 Nov 2000 00:41:43 +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-25070@lists.php.net to get a copy of this message
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

« previous php.general (#25070) next »