Re: setcookie() is not my friend

From: Date: Thu, 06 Oct 2005 14:28:22 +0000
Subject: Re: setcookie() is not my friend
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223698@lists.php.net to get a copy of this message
Brian Dunning wrote:
I'm trying to setcookie('username',$username,15552000) but on subsequent pages $_COOKIE('username') is always null. <snip>
Is that just a typo? It should be $_COOKIE['username'] -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#223698) next »