How can I copy cookies from an incoming request to a LWP-request and also
add a custom cookie? Can I use HTTP::Cookies?

I use:
$request->header('Cookie' => $r->header_in("Cookie")); 
and it works fine, but now I want to add a cookie that the client didn't
send.
Can I use $cookie_jar->set_cookie() and then
$cookie_jar->add_cookie_header($request);? But what happens with the
original cookies?

/Jonas

Reply via email to