> will this not work...
>
> if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] !=
> true)) {
> SetCookie("foo", "bar");
> header("Location: $PHP_SELF?set=true");
> }
>
> at the top of the page. or is this what is unreliable on some browsers?
Some browsers just can't handle a redirect and a set-cookie header in the
same request. How you get PHP to generate these headers is irrelevant.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]