On Sun, Jun 17, 2001 at 11:14:23PM -0400, Chris Winters wrote:
> * will trillich ([EMAIL PROTECTED]) [010617 23:04]:
> >     $r->log_error( qq(...id=$ID, sending cookie) );

--this outputs the string i'm hoping for, into the log file.

> >     my $cookie =
> >             Apache::Cookie->new( $r,
> >                     -name   => $cookie_name,
> >                     -value  => $ID         ,
> >                     -domain => $r->hostname,
> >                     -path   => '/'         ,
> >             );
> >     $r->header_out('Set-Cookie', => $cookie);

> From 'perldoc Apache::Cookie'
> 
>    bake
>        Put cookie in the oven to bake.  (Add a Set-Cookie
>        header to the outgoing headers table.)
> 
>            $cookie->bake;

what does $cookie->bake do (add set-cookie header) that
$r->header_out('set-cookie'=>$cookie) (add set-cookie header)
does not?

[ and why ain't that mentioned in the manual? ]

-- 
I figure: if a man's gonna gamble, may as well do it
without plowing.   -- Bama Dillert, "Some Came Running"

[EMAIL PROTECTED]
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

Reply via email to