Re: cookies multiple pages

From: Date: Wed, 03 Jul 2002 15:32:38 +0000
Subject: Re: cookies multiple pages
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20299@lists.php.net to get a copy of this message
1) no, the commented
  setcookie("user_data","",time()+(3600));    // set for 6 weeks *24*7*6
	I would move the *24*7*6 back into the (3600) to make it so. I just want to test for an hour
2) so maybe this is a problem with the server? I've been tearing my hair out because neither cookies nor sessions are acting the way that I have done them in the past on a different server. **sigh** 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']. Also isn't 3600 only an hour. 60secs * 60mins? i think 6 weeks would be... 151200 60 * 60 * 42days does that work? Jeff


« previous php.db (#20299) next »