Tofu Optimist wrote:
I missed the reference to Recipe 3.13.
That was right on target.
Thanks.
I am interpreting that recipe to mean
"when setting the HTTP header fields for a redirect,
always use err_headers_out, except when setting
location, which is a special case, and may use
headers_out".
H
I missed the reference to Recipe 3.13.
That was right on target.
Thanks.
I am interpreting that recipe to mean
"when setting the HTTP header fields for a redirect,
always use err_headers_out, except when setting
location, which is a special case, and may use
headers_out".
Holler if I am off base
Hello again,
On Sat, 18 Oct 2003, Tofu Optimist wrote:
> Hmmm... I had read that thread; none of the postings
> address setting anything beyond a cookie.
Hmmm... in the message to which I pointed, did you also read
"/me sliently points to recipe 3.13 in the cookbook, too :)"
which addresses
Hmmm... I had read that thread; none of the postings
address setting anything beyond a cookie.
I'm looking for advice on something like this
sub cookie_and_redirect {
my ( $r, $cookie, $dest ) = @_;
$r->headers_out->set( Location => $dest );
$r->headers_out->add( 'P3P' => P3P_CP );
On 10/18/03 11:18 AM, Ged Haywood wrote:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg36041.html
Whoop, I think this is the post I was looking for earlier :)
http://ken.coar.org/burrow/index?month=2003-07#511
-John
Hi there,
On Sat, 18 Oct 2003, Tofu Optimist wrote:
> [1] When should one use err_headers_out and when
> should one use headers_out?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg36041.html
> [2] Also, what is the difference between the 'set' and
> 'add' methods? (Where might I find docs fo
[1] When should one use err_headers_out and when
should one use headers_out? I know when redirecting
the former is used for Set-Cookie and the later is
used for Location (Practical Mod Perl p. 756), but
what about cache control, p3p, etc? (code fragment
below)
[2] Also, what is the difference be