Re: Cookie woes ...
| From: | Kent Wang | Date: | Mon, 04 Sep 2000 14:44:42 +0000 |
| Subject: | Re: Cookie woes ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-15135@lists.php.net to get a copy of this message | ||
For a work-around, use header("Refresh: 0;http://siteofpain.ccom/");
Note that in some older 4th gen browsers, it will set the cookie but not utilize them when going to the directed page. This forces the user to manually reload or something if they want the cookies.
At 16:36 9/4/2000 +0200, Martin Thoma wrote:
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net