note 20047 added to function.setcookie

From: Date: Wed, 20 Mar 2002 16:15:53 +0000
Subject: note 20047 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-27994@lists.php.net to get a copy of this message
MSIE 6 has a inaccurate definition of third party cookies. If your domain is hosted on one server and your PHP stuff is on another, the IE6 p3p implementation considers any cookies sent from the second machine "third party". Third party cookies will be blocked automatically in most privacy settings if not accompanied by what MS considers "an appropriate Compact Policy". In order to make this new piece of tweakable garbage happy I'd suggest you'd par exemple send header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"'); before sending your cookie from your second machine. This header enables your cookie to survive any privacysetting. -- http://www.php.net/manual/en/function.setcookie.php http://master.php.net/manage/user-notes.php?action=edit+20047 http://master.php.net/manage/user-notes.php?action=delete+20047 http://master.php.net/manage/user-notes.php?action=reject+20047

« previous php.notes (#27994) next »