Hey guys!
I'm in need for a little help. I'm trying to make an script to create a
cookie
and it does just fine with Netscape (creates it and recovers it) but It does
not
work with IE. here is the code I'm using :
.
.
.
use CGI;
use CGI::Cookie;
$q = new CGI;
%cookies= fetch CGI::Cookie;
$coder =' ';
if ($cookies{'COOKIE1'}) {
$coder = $cookies->value;
}
if ($coder ne ' ') {
$coder='6789_67._c';
print $q->header;
} else {
&createcode;
$new_cookie = $q->cookie(
-name => 'COOKIE1',
-value => $coder,
-expires => '+2h',
-domain => '.mydomain.com',
-path => '/'
);
print $q->header(-cookie=>$new_cookie);
}
This works just fine in netscape but does not in Internet Explorer. Any Clue
?
Thank you
Fernando Munoz