Fernando Munoz writes ..
>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 :
if it seriously works in Netscape then there's something seriously wrong
with Netscape
>use CGI;
>use CGI::Cookie;
>$q = new CGI;
>
>%cookies= fetch CGI::Cookie;
>
>$coder =' ';
>
>if ($cookies{'COOKIE1'}) {
> $coder = $cookies->value;
^^^^^^^^^^^^^^^
should be
$coder = $cookies{COOKIE1}->value;
what you have should never return a value .. and you should get a runtime
error along the lines of <Can't call method "value" on an undefined
value...>
my guess is that you've stuffed something up and the Netscape run was using
a different script somehow
--
jason king
It is illegal to "annoy a bird" in any city park of Honolulu, Hawaii.
- http://dumblaws.com/