- From: Joel Bowers <jb@jbmckee.com>
- Date: Thu, 21 Mar 2002 11:22:34 -0700
- To: <www-p3p-policy@w3.org>
Of course using mod_headers would be optimal, as it will insert the P3P policy into all calls to that server that you have it set for. But, for those using a shared server through a hosting service, mod_headers may not be an option. JB ----- Original Message ----- From: "Cheryl Cox" <cheryl.cox@marketingtips.com> To: <www-p3p-policy@w3.org> Sent: Thursday, March 21, 2002 10:23 AM Subject: RE: http headers for CP policy in perl script > > If you have mod_headers compiled into all > Apache installs, would you not need to > do this inside perl CGI scripts? > > Cheryl > > > > -----Original Message----- > > From: www-p3p-policy-request@w3.org > > [mailto:www-p3p-policy-request@w3.org]On Behalf Of Lorrie Cranor > > Sent: Tuesday, March 19, 2002 1:31 PM > > To: Joel Bowers; www-p3p-policy@w3.org > > Subject: Re: http headers for CP policy in perl script > > > > > > Thanks Joel! Let me just add a clarification... > > This needs to be included in the script that is > > *setting* the cookie. This may also be the script > > that is reading the cookie, but in any case, it > > is the script that is setting the cookie that is important. > > I'm not sure that all third-party cookies will necessarily > > be set by scripts. > > > > Lorrie > > > > > > ----- Original Message ----- > > From: "Joel Bowers" <jb@jbmckee.com> > > To: <www-p3p-policy@w3.org> > > Sent: Tuesday, March 19, 2002 4:30 PM > > Subject: Re: http headers for CP policy in perl script > > > > > > > It actually turns out to be ridiculously simple. > > > > > > Put the following before any other print statements: > > > > > > print "policyref=\"http://www.thedomain.com/w3c/p3p.xml\", P3P: CP=\"NOI > > DSP COR CURa ADMa DEVa TAIa OUR IND UNI COM NAV INT\"\n\n"; > > > > > > And that is it! > > > > > > This should be pointed out on the W3 site. As it is, it just says you > > need to modify the server to insert the P3P code into the header > > whereas all > > you need to do is add it into the script that is reading the > > cookie. Since > > a third party cookie is always going to be read by a script, > > putting the CP > > policy in the script will probably always solve your problem > > without having > > to do anything to the server related to HTTP headers. > > > > > > JB > > > > > > ----- Original Message ----- > > > From: "Brian" <brian@bmac.net> > > > To: <www-p3p-policy@w3.org> > > > Sent: Tuesday, March 19, 2002 11:52 AM > > > Subject: 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 Thursday, 21 March 2002 13:21:14 UTC