Re: cookies and redirection
| From: | Chris Boget | Date: | Wed, 13 Aug 2003 20:14:31 +0000 |
| Subject: | Re: cookies and redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159483@lists.php.net to get a copy of this message | ||
> I have a small problem was wondering if anyone out there knew anyhting about
> this. I set a cookie in my code and then redirect the user using a header
> function. When I do this, my cookie is not created. If i remove the header
> function, then it is. Is there a way around this?
Yeah, set the cookie as normal using the header() function (or however you are
doing it) then use the following HTML:
<head>
<META http-equiv="REFRESH" content="0; URL=$redirectPage">
</head>
Chris