> -----Original Message-----
> From: Drew Taylor [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 26, 2000 10:44 AM
> To: modperl
> Subject: Sending multiple cookies per request
> 
> 
> I'm trying to set multiple cookies with $r->header_out('Set-Cookie' =>
> $custCookie); I tried having 2 header_out calls with the 
> Set-Cookie key,

use $r->headers_out->add insead
note the s    ^

that should work ok

HTH

--Geoff


> but then only the second one got set. Do I need to use Apache::Cookie?
> Is there a way to set multiple cookies ala CGI.pm? ( ie
> $self->{CGI}->header(-cookie => [$customerCookie,$lightboxCookie]); )
> 
> It's not a problem to add Apache::Cookie, but if I don't have 
> to load it
> I won't. :-)
> 
> TIA.
> 
> -- 
> Drew Taylor
> Vialogix Communications, Inc.
> 501 N. College Street
> Charlotte, NC 28202
> 704 370 0550
> http://www.vialogix.com/
> 

Reply via email to