[ic] Cookies and IE6

Stefan Schwedt interchange-users@interchange.redhat.com
Sun Sep 30 06:06:00 2001


Hi all,

you probably heard before, that the Internet Explorer 6 has now implemented
a new feature of the W3C. It is called "privacy policy" and restricts the
setting of cookies (also interchange-cookies are blocked).

If you try to set a cookie via JavaScript, it is always accepted. Also other
cookies, that come directly from a html-page won't be refused.
Interchange uses the HTTP-header to set it's cookies. In that case, there
must be another information in the HTTP-header that points to the privacy
policy of the server.

Does anyone know, if there is a way to solve this problem without modyfing
the global HTTP-headers of the server and set optional HTTP-headers in the
interchange-pages?

I tried to write a small code, that checks, if a browser accept cookies or
not. I used the following lines and executed the CGI-script them directly in
my webbrowser.

use CGI qw(:standard);
use strict;
my $cookie = cookie (-NAME => "test", -VALUE => "ok", -EXPORES => "+2y");
my $result = cookie("test");
if ($result =~ /ok/)
{
  print "Cookie can be set and read";
}

Paradoxically the cookie was set in IE6. So Interchange must use another way
to set it's cookies, that they are always refused.

Thank you for your help!

Stefan Schwedt