Gokul P. Nair wrote:

Thanks for the attachment. What i still don't
understand though is that when i create the cookie
using APR::Request::Cookie->new(...) how do i bake it
or in other words, how do i send it?

Am i even approaching this in the right direction?
I'm hoping you missed this line:

my $cookie = APR::Request::Cookie->new($req,
                                               name => "foo",
                                              value => "bar",
                                             domain => "capricorn.com");

# print a response header
printf "Set-Cookie: %s\n", $cookie->as_string;


I'd have to look the the $r->send_headers_xxx API my memory is failing me at the moment.


--
END ---------------------------------------------------------
   What doesn't kill us can only make us stronger.
              Nothing is impossible.
                                
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
    http://www.liquidityservicesinc.com
       http://www.liquidation.com
       http://www.uksurplus.com
       http://www.govliquidation.com
       http://www.gowholesale.com


Reply via email to