You know that after you set a cookie you cannot check for it's existence in the same session.
Set a cookie. Reload. Then check for cookie existence. How are you checking that the cookie exists? One good way is to simply output the $ENV. foreach my $key (keys %ENV) { print "$key -> $ENV{$key}<br>\n"; } Regards, KAM > This does not set the cookie whatsoever, i tried > $r->err_headers_out... still no luck. > > What am I doing wrong? is there something very bovious > i'm missing?