http headers for CP policy in perl script

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 UTC