Hello,
Thanks in advance for any helps.
I know that to send multiple cookies to the client, we can do like:
CGI->header(-cookie => [$cookie1, $cookie2]);
And it will send the following headers:
Set-Cookie: cookie1=cookie1val
Set-Cookie: cookie2=cookie2val

When I try to do this in Apache module:
$r->header_out('Set-Cookie' => [$cookie1, $cookie2]);
or
$r->header_out('Set-Cookie' => $cookie1);
$r->header_out('Set-Cookie' => $cookie2);
they fail.
I wonder how to send multiple cookies in Apache module?
Or I can only combine all the information into one string and
set it like the TicketTool.pm example?
Thanks.

Regards,
Simon.

--
Simon Tneoh Chee-Boon [EMAIL PROTECTED]
http://www.tneoh.zoneit.com/simon/
http://www.e-my.net.my/wilayahpersekutuan/simon/

Reply via email to