You are probably right, but it works!.. the fact of the problem however, is
that the cookie is not set on Internet Explorer, and I can not figure it
out.
-----Original Message-----
From: King, Jason [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 6:42 PM
To: [EMAIL PROTECTED]
Cc: Fernando Munoz
Subject: RE: :Cookie not setting cookie with Internet Explorer
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/