Re: Cookie woes ...
| From: | Martin Thoma | Date: | Mon, 04 Sep 2000 14:36:01 +0000 |
| Subject: | Re: Cookie woes ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15134@lists.php.net to get a copy of this message | ||
> for example:
>
> setcookie("cookie1",$value1);
> setcookie("cookie2",$value2);
> header("Location:http://mysite.com/otherpage.php");
... you could not set Cookies and a redirect header at the same time.
The cookies will become visible after the next page of otherpage.php,
because the browser thinks that it's the same page.
Regards
Martin