1 package MyApache2::CopyCookie;
3 use Apache2::Filter ();
4 use Apache2::RequestRec ();
7 use Apache2::Const -compile => qw(OK);
12 my $cookie = $f->r->headers_out->get('Set-Cookie');
13 $f->r->headers_out->set('X-Set-Cookie', $cookie);
14 return Apache2::Const::OK;