You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Harrison <ha...@btinternet.com> on 2001/02/08 20:37:41 UTC

Re: Send a cookie, AND a redirect ? [resolved]

Using err_header_out worked :)

$r->content_type('text/html');  
$r->err_header_out('Set-Cookie' => $cookie); 
$r->err_header_out('Location' => $the_url); 
return REDIRECT;