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