perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arshavir Grigorian>
Subject Apache::Cookie
Date Tue, 09 Nov 2004 16:24:55 GMT

I am using Apache::Cookie (libapreq2-2.04-dev) to generate cookies.
However, for some reason, the bake() method does not work.

my $cookie = $ticket->cookie()->as_string();
$r->err_headers_out->add('Set-Cookie' => $cookie);

# DOES NOT WORK            

where $ticket->cookie() is an Apache::Cookie object. This is the first 
thing in the response and is followed by: $r->headers_out->set(Location 
=> '/path/'); return Apache::REDIRECT;.

Beside the fact that libapreq2 is still in development, is there a 
problem with how I am using the bake() method? Thanks in advance.


Report problems:
Mail list info:
List etiquette:

View raw message