Hello,
I'm new to the list, although I've read so many of its messages I feel like I subscribed weeks ago. :) I'm having some problems getting libapreq2's Apache::Cookie to send out more than one cookie. The same basic code worked fine in mp1, which makes me think I'm doing something improperly. The code in question is contained within a subroutine in a module that gets called from a registry script.
Here's the code: $r = shift; my $cookie = Apache::Cookie->new($r, -name => 'id', -value => $id, ); my $cookie2 = Apache::Cookie->new($r, -name => 'chocolate_chip', -value => $chip, ); $cookie->bake; $cookie2->bake; $r->content_type('text/html'); $r->print("just the chip comes through");
I'm using Apache 2.0.52, mod_perl-2.0.0-RC4, and libapreq2-2.04_03-dev. Apache is configured down to only what is needed to run mod_perl and libapreq2.
Should I cave and use CGI::Cookie to send these measly two cookies?
- ben