Question

we built a webapp. On IE we need to allow third party cookies. We are using Java Server Faces. Anyway we are looking for the best way to deliver the P3P-Header? We thought about Apache configuration files. Is it possible to detect InternetExplorer on this level or is it better to check for browser in the application?

Thanks in advance.

Was it helpful?

Solution

Since it should be a static P3P policy, the elegant way would be to put it in the Apache config with

BrowserMatch . . 
Header . . .  env=

OTHER TIPS

Okay, this works for me (at the end of Apache http.conf, set-header-module is enabled):

BrowserMatch MSIE IS_MSIE
Header add P3P "CP=\"NOI DSP COR CURa ADMa DEVa OUR IND OTC\"" env=IS_MSIE
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top