W3C home > Mailing lists > Public > www-p3p-dev@w3.org > June 2002

setting third-party cookie on the client

From: Peter Zhang <pzhang@askjeeves.com>
Date: Tue, 4 Jun 2002 14:08:06 -0400 (EDT)
Message-ID: <8EF2E9ED35FFD411BACA00508BCF57C207686064@sagan.askjeeves.com>
To: "'www-p3p-dev@w3.org'" <www-p3p-dev@w3.org>


I know how to set third-party cookie through servlet,
by sending the compact policy and policy reference file
in the response header.  However, I have a situation
that I want to set a third-party cookie on the client side.
How can I do that?

For example, I have a file, http://my.domain.com/hello.htm and it is embeded
in http://yours.yoursdomain.com/hi.htm.  Inside hello.htm, I have a
javascript block like this:
	document.cookie = 'F=1; path=/';

IE 6 rejects this.  What can I do?

Received on Wednesday, 5 June 2002 13:02:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:42:50 UTC