I'm still missing something.
I can pull the cookie out of the response header easily enough:
my $CookieHeader = $response->header('Set-Cookie');
But I'm not sure how to pass that back to the browser. Right now I send the response back like so:
if ($response->is_redirect)
{
print $cgi->redirect(-uri=>$response->header('Location'),
-status=>$response->code
);
}
else
{
print $cgi->header($ResponseContentType);
print $response->content;
}
I guess I'm not sure how to use CGI to invoke Set-Cookie. I know it has a -cookie option, but I don't have a CGI cookie object, so I don't think that will work...redirect(-uri=