Hi,
I'm having a problem with setting the cookie in a REDIRECT. Basically,
I'm doing this in a handler:
$r->headers_out->add('Set-Cookie' => $cookie);
$r->headers_out->add('Location' => $location);
return REDIRECT;
The $location is hit but the cookie is missing when I debug the handler
for $location.
I have tried various remedies, such as no_cache(),
unset('Content-length'), etc. But nothing seems have effect.
Can anyone point out what is the problem? Thanks so much.
Fred Xia
- Re: REDIRECT missing Cookie Zeqing Xia
- Re: REDIRECT missing Cookie Jim Winstead
- Re: REDIRECT missing Cookie Perrin Harkins
- Re: REDIRECT missing Cookie Ken Williams
- Re: REDIRECT missing Cookie Zeqing Xia
