note 69629 added to ref.session
| From: | steffen at steffen-ille dot de | Date: | Wed, 13 Sep 2006 12:02:02 +0000 |
| Subject: | note 69629 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117096@lists.php.net to get a copy of this message | ||
old problem was:
internet explorer has security settings which reject your php session cookie within different
framesets (third party cookies). one approach to handle this was to pass the session id to the other
frames in the url. the www says, this is a little bit unsafe...
another trick to handle this is, to trick the explorer with the php header funktion. as described in
the microsoft knowledgebase
article http://support.microsoft.com/kb/323752/EN-US/
you simply add a header at the top of your scripts _bevore_ the session_start() is called:
header('P3P: CP="CAO PSA OUR"');
and now test it and enjoy...
----
Server IP: 66.163.161.117
Probable Submitter: 194.94.196.122
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- https://master.php.net/note/edit/69629
Del: integrated -- https://master.php.net/note/delete/69629/integrated
Del: useless -- https://master.php.net/note/delete/69629/useless
Del: bad code -- https://master.php.net/note/delete/69629/bad+code
Del: spam -- https://master.php.net/note/delete/69629/spam
Del: non-english -- https://master.php.net/note/delete/69629/non-english
Del: in docs -- https://master.php.net/note/delete/69629/in+docs
Del: other reasons-- https://master.php.net/note/delete/69629
Reject -- https://master.php.net/note/reject/69629
Search -- https://master.php.net/manage/user-notes.php