httpd-users mailing list archives

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


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

The script is as follow:

    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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message