On:
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_headers_out_
and
http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_err_headers_out_

it is suggested that the proper syntax for adding a header is:

$r->headers_out->add('Set-Cookie' => $cookie);

This howerver does not work.  The example at:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C__r_E_gt_err_header_out_

has it right, with:

$r->headers_out->{'Pragma'} = "no-cache";

I suggest it be updated in the full API section.

Thanks!

-miles
__________________________________
Miles Crawford, Software Developer
Catalyst Research and Development
Educational Partnerships & Learning Technologies
University of Washington
206.616.3406
http://catalyst.washington.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to