RE: :Cookie not setting cookie with Internet Explorer

2001-05-16 Thread King, Jason

Fernando Munoz writes ..

>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.

so .. you say that I'm probably right .. so it's probably correct that
Netscape is executing a different program to IE .. then how is it a mystery
that one program works in Netscape and another different program does not
work in IE ??

not sure what was lost here in the communication .. but you MUST change the
line of code that I indicated previously .. that code you had will not
retrieve the value of the cookie

-- 
  jason king

  It is illegal to "annoy a bird" in any city park of Honolulu, Hawaii.
  - http://dumblaws.com/



RE: :Cookie not setting cookie with Internet Explorer

2001-05-16 Thread Fernando Munoz

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 

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/



RE: :Cookie not setting cookie with Internet Explorer

2001-05-16 Thread King, Jason

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 

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/