in reply to Fetching cookies.
This will print out the entire HTTP header, including the Set-Cookie directive w/ the correct values.my $query = new CGI; print $query->header(-cookie => $c);
If you're using mod_perl, do something like this:
where $r is the Apache::Request object that you received in your handler routine.$r->content_type("text/html"); $r->header_out("Set-Cookie", $c); $r->send_http_header;
Does this help?
|
|---|