in reply to CGI:Cookie, Apache2, Mod_perl2

Add the following line to send out the cookie:

$r->err_headers_out->set('Set-Cookie', $new_cookie_product);

lihao