Paul wrote:
> 
> > Drew wrote:
> > > Going by your previous example, you should use
> > > $cookie = $r->header_in('Set-Cookie');
> 
> Quick reality check here -- I'm easy to confuse. =o)
> 
> Shouldn't that be
> 
>    $cookie = $r->header_in('Cookie')
> 
> to get cookies the browser sends, and then something like
> 
>    $r->headers_out->add('Set-Cookie' => "$name=$val")
> 
> to place new ones?
I'm pretty sure I'm right on this one. ;-) $r->headers_in|out are
getting/setting actual HTTP headers. Last I checked, the HTTP spec says
you use 'Set-Cookie' for cookies. Of course, I am frequently wrong as
well, but I don't think I am in this case.


-- 
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/

Reply via email to