well, since this is the mod_perl mailing list :)

my $r = Apache->request;
$r->headers_out->add('Set-Cookie' => "cookie a stuff");
$r->headers_out->add('Set-Cookie' => "cookie b stuff");

should work ok...

HTH

--Geoff

> -----Original Message-----
> From: Matthias Hanns [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 25, 2000 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: how to set more then one cookie
> 
> 
> Hi all together,
> 
> when I want to set one cookie I use the following way:
> 
> ....
> my $cookie = CGI::cookie( ... );     # or with OO: my $q = new CGI; my
> $cookie = $q->cookie( ... );
> ....
> print CGI::header($cookie);
> ....
> 
> Now my question: How I can set more then one cookie? Any 
> hints, where I can
> read or how to do?
> Thnx, Matthias
> 

Reply via email to