note 1022 modified in setcookie by ronabop
| From: | ronabop@php.net | Date: | Sat, 26 Aug 2000 05:27:32 +0000 |
| Subject: | note 1022 modified in setcookie by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3326@lists.php.net to get a copy of this message | ||
Regarding re-directing and setting cookies.
I have found that if you include everything in one header call then it works... Prehaps you could
all have a look at this method and see if it works for you.
<?
Header("Location: http://www.domain.com/page.html\nSet-Cookie:COOKIE_ISBN[$i]=$isbn;time()+3600;path=/\n\n");
?>
http://www.php.net/manual/function.setcookie.php