Bill Desjardins wrote:
> I checked the archives and the guide to no avail, so here goes. I am
> having trouble setting a cookie in the header and then doing a
> redirect. The cookies are working fine every where, but if I add a cookie
> to $r->headers_out->add(), set a location via $r->headers_out(Location =>
> 'newrui') and return REDIRECT, I get no cookies being set. is this a bug,
> feature, or a feature of the wonderful world of incompatible browsers?
This is a known problem with certain browsers. The cookie will get set,
but will not get returned on this first redirect. You could try putting
the cookie data in a query string and looking for it there when it isn't
in the cookie.
- Perrin