- or download this
my $url = $cgi->param('url');
...
$self->header_add(-cookie => $cookie);
$self->header_add(-redirect => $cgi->redirect($url));
- or download this
$self->header_add(-cookie => [$cookie]);
- or download this
print $cgi->header(
-cookie => $cookie,
-redirect => $cgi->redirect($url)
);
- or download this
$self->header_type('redirect');
$self->header_props(
-url => $url,
-cookie => [$cookie] );