note 3589 deleted from function.setcookie by rasmus

From: Date: Sat, 10 Aug 2002 14:25:17 +0000
Subject: note 3589 deleted from function.setcookie by rasmus
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34693@lists.php.net to get a copy of this message
To set a cookie don't use time()+123456789, it works better using the full date like here: Header("Location: page.phtml\nSet-Cookie:name=value;expires=Friday, 16-Jan-2037 00:00:00 GMT;\n\n");

« previous php.notes (#34693) next »