note 23129 deleted from function.setcookie by john

From: Date: Sat, 30 Nov 2002 16:38:13 +0000
Subject: note 23129 deleted from function.setcookie by john
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40177@lists.php.net to get a copy of this message
Using IIS 5 and PHP4.1.2 if you use : setcookie("user","$info",time()+15552000); and after : Header("Location: index.php"); the cookie can't be set. solution : print '<html><head><meta http-equiv="refresh" content="0;URL=index.php"></head></html>'; instead of the header. it's running! Jeff

« previous php.notes (#40177) next »