On Sun, 17 Jun 2001, will trillich wrote:

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

You forgot to bake your cookie...  Read the Apache::Cookie docs again.

Get rid of the $r->header_out(...) line and use the following instead.

$cookie->bake();

Cees

Reply via email to