Tags: php
IE7 and PHP $_SESSION Vars...
By Jason on Jan 10, 2009 | In PHP | Send feedback »
OK, most people have heard of the dreaded IE7/PHP $_SESSION[''] nightmares... and there are about a million different solutions out there.
Here is the bit of code that worked for me:
Code:
<? | |
header('P3P: CP="CAO PSA OUR"'); | |
session_start(); | |
... | |
... | |
?> |
It turns out that you have to add a special header before opening the session.