Re: cookies multiple pages

From: Date: Wed, 03 Jul 2002 15:40:25 +0000
Subject: Re: cookies multiple pages
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20300@lists.php.net to get a copy of this message
as in if (!isset($_COOKIE['user_data'])) { setcookie("user_data","",time()+(3600)); // set for 6 weeks *24*7*6 } ?? nah.. that doesn't work either. It still creates a new cookie. On Wednesday, July 3, 2002, at 10:05 AM, Jeffrey_N_Dyke@Keane.com wrote:
Is this a issue with register _globals = off. try referencing it with $_COOKIE['user_data'].
Khristopher_Klaich@nywd.uscourts.gov said:
Trust me this does not work with php 4.2.1 and apache 2.0.39 from what I am told if you get the cvs for apache 2.0.4 it should but I just down graded to apache 1.3.26 and php 4.0.6 and eveything works like a champ..... Just my .02 of course if you get it working let me know what you did as I spent a week on it...
but since this isn't my server, I can't downgrade or reset settings. *sigh* Thanks, so far.. Terry

« previous php.db (#20300) next »