httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shao Ming" <shaom...@signetique.com>
Subject IE client cookie handling problem [help!!]
Date Mon, 19 Aug 2002 08:03:34 GMT

Hi!

I have installed apache on win xp. A simple script of setting two
cookies is not working for IE.

The script is as follow:

    #!/usr/local/bin/perl
    require 5.003;
    use CGI::Cookie;
    my $cookie1 = new CGI::Cookie(-name=>'session',-value=>'Hello');
    my $cookie2 = new CGI::Cookie(-name=>'id',-value=>'World');

    print "Set-Cookie: ",$cookie1->as_string,"\n";
    print "Set-Cookie: ",$cookie2->as_string,"\n";

    print "Content-type: text/html\n\n";

    print "Hello World";

The same script works okay for netscape clients - but not for IE.
However, If I run the same script off apache on linux - IE can detect
the cookies!

Can someone helps me with the above problem? I have tried a few
variation here and there but the problem simply just won't go away.

Pls. help.

Cheers!


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message