At 00:13 09/05/2000 -0700, Perrin Harkins wrote:
>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.

Isn't there a work-around consisting of making 100% sure the cookie is sent
before the Location header ?



.Robin
All paid jobs absorb and degrade the mind. -- Aristotle

Reply via email to