I've had problems with cookies when a path is set, so you may try not defining a path. It's not required anyway, unless you plan on having many cookies from different parts of your site. Also, if that doesn't work, try it without the domain as well. I removed both on my local machine and it worked on NS just fine.
- Derek Soviak
Comment on Re: Problem with Cookies on Netscape but Ok in IE
I found some code on this site and it solves my problem writes in bothe netscape and IE finally !!!!!!
#!/usr/bin/perl -w
use CGI;
use CGI::Carp (fatalsToBrowser);
use CGI::Cookie
$co = new CGI;
$cook = $co->cookie(
-name=>'ctbuser',
-path=>'/',
-expires=>'+1h',
-value=>'pixxadonut'
);
print $co->header(-cookie=>$cook);
print 'ok you set my cookie pal';