How To Railroad Train P3p Headers Inwards Codeigniter?
What is P3P header?
The Platform for Privacy Preferences Project (P3P) is a protocol allowing websites to declare their intended role of data they collect close spider web browser users. Designed to hand users to a greater extent than command of their personal data when browsing, P3P was developed past times the WWW Consortium (W3C) in addition to officially recommended on Apr 16, 2002.
If y'all didn't gear upward P3P header, it may non hold upward properly inward IE browsers.
Real basis work in addition to solution example
Problem: My codeigniter application is trying to gear upward cookies from within an iFrame, in addition to this is non working really good alongside IE8.
Solution: Add P3P headers
IE's "high" privacy setting blocks all cookies from websites that produce non accept a compact privacy policy, simply cookies accompanied past times P3P non-policies similar those below are non blocked.
In fellowship to gear upward the P3P header inward Codeigniter, house next code within the index.php page, similar so:
Note: It didn't worked using Codeigniter output shape ( $this->output->set_header )
Sumber http://developer-paradize.blogspot.com
The Platform for Privacy Preferences Project (P3P) is a protocol allowing websites to declare their intended role of data they collect close spider web browser users. Designed to hand users to a greater extent than command of their personal data when browsing, P3P was developed past times the WWW Consortium (W3C) in addition to officially recommended on Apr 16, 2002.
If y'all didn't gear upward P3P header, it may non hold upward properly inward IE browsers.
Real basis work in addition to solution example
Problem: My codeigniter application is trying to gear upward cookies from within an iFrame, in addition to this is non working really good alongside IE8.
Solution: Add P3P headers
IE's "high" privacy setting blocks all cookies from websites that produce non accept a compact privacy policy, simply cookies accompanied past times P3P non-policies similar those below are non blocked.
In fellowship to gear upward the P3P header inward Codeigniter, house next code within the index.php page, similar so:
<?php header('P3P:CP="We produce non accept a P3P policy!"'); // ... remainder of the index.php fileThe alone house I accept constitute this worked inward codeigniter :)
Note: It didn't worked using Codeigniter output shape ( $this->output->set_header )
Sumber http://developer-paradize.blogspot.com
Comments
Post a Comment