W3C home > Mailing lists > Public > www-p3p-policy@w3.org > March 2002

http headers for CP policy in perl script

From: Brian <brian@bmac.net>
Date: Tue, 19 Mar 2002 10:52:19 -0800
To: www-p3p-policy@w3.org
Message-id: <BHECIKIFPAFMOHLCANJDOEANCPAA.brian@bmac.net>
Hello,

I have a perl script that sets a cookie.  IE 6 is rejecting that cookie due
to it being a third party cookie.  How do I add the http headers to this
script so IE 6 will see the Compact Policy?

Here is what I tried

$h->header('P3P' =>
'P3P:policyref="http://www.thedomain.com/w3c/p3p.xml",CP="NOI DSP COR CURa
ADMa DEVa TAIa OUR IND UNI COM NAV INT"');


but this gives a 500 internal server error and the message Premature end of
script headers.

Any ideas on how to apply httpd headers to a perl script?

Brian
Received on Tuesday, 19 March 2002 13:51:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 17 January 2012 12:13:10 GMT