p3p

What does header('P3P: CP=“CAO PSA OUR”'); do?

孤街醉人 提交于 2019-11-26 15:16:57
问题 What is header('P3P: CP="CAO PSA OUR"'); for? How/why will it let this script work fine in IE? session_start(); if (!session_is_registered(pre_myusername)) { header("location:index.php"); exit(); } 回答1: P3P is the Platform for Privacy Preferences. The value CP="CAO PSA OUR" describes a compact policy with the tokens contact and others (access information: What information is collected?) Identified Contact Information and Other Identified Data: access is given to identified online and physical

Cookie blocked/not saved in IFRAME in Internet Explorer

旧时模样 提交于 2019-11-25 23:58:06
问题 I have two websites, let\'s say they\'re example.com and anotherexample.net . On anotherexample.net/page.html , I have an IFRAME SRC=\"http://example.com/someform.asp\" . That IFRAME displays a form for the user to fill out and submit to http://example.com/process.asp . When I open the form (\" someform.asp \") in its own browser window, all works well. However, when I load someform.asp as an IFRAME in IE 6 or IE 7, the cookies for example.com are not saved. In Firefox this problem doesn\'t