note 102352 added to function.setcookie

From: Date: Thu, 10 Feb 2011 05:08:14 +0000
Subject: note 102352 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-176835@lists.php.net to get a copy of this message
IE7 can have trouble with settings cookies that are embedded in an iframe. The problem lies with a W3C standard called Platform for Privacy Preferences or P3P for short. To overcome, include the header: header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); before setting the cookie. With thanks to Adam Young @ http://adamyoung.net/IE-Blocking-iFrame-Cookies ---- Server IP: 69.147.83.197 Probable Submitter: 203.4.173.129 ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- https://master.php.net/note/edit/102352 Del: integrated -- https://master.php.net/note/delete/102352/integrated Del: useless -- https://master.php.net/note/delete/102352/useless Del: bad code -- https://master.php.net/note/delete/102352/bad+code Del: spam -- https://master.php.net/note/delete/102352/spam Del: non-english -- https://master.php.net/note/delete/102352/non-english Del: in docs -- https://master.php.net/note/delete/102352/in+docs Del: other reasons-- https://master.php.net/note/delete/102352 Reject -- https://master.php.net/note/reject/102352 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#176835) next »