![]() |
IE7 Cookie weirdness - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: IE7 Cookie weirdness (/showthread.php?tid=9777) |
IE7 Cookie weirdness - El Forum - 07-08-2008 [eluser]Mirage[/eluser] Hi, I ran into an odd issue with Internet Explorer 7 and I hope someone here has encountered this before and can point me to a place where to look... I maintain exact duplicates of my projects on my dev machine (OS X 10.5.4, Entropy PHP 5.2.5 stack) and my deployment servers (CentOs 4, PHP 5.2.5). The PHP stacks are very comparable. The issue seems to be that cookies are not sticking in IE7 on the deployment servers. But they work fine on the dev machine. Oddly enough, IE6 works on both. Well maybe not that odd all things considered... So, anyone care to venture a guess as to what might be going on here? I'm using Oscar Bajner's OBSession library. Works great on other sites and never had a problem. I really don't think that's where it's at. Given that IE7 works on the localhost, but not on live server kinda seems to prove that. Thanks a bunch in advance. Cheers, -m IE7 Cookie weirdness - El Forum - 07-08-2008 [eluser]Sam Dark[/eluser] Are you dealing with frames or cross domain AJAX queries? IE7 Cookie weirdness - El Forum - 07-08-2008 [eluser]flojon[/eluser] I had some issues with an application which I think was related to IE7. I never managed to recreate it locally. But I added the following to my controller: Code: header('P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); The first line is setting some kind of privacy policy. You can read more here: http://en.wikipedia.org/wiki/P3P IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]Mirage[/eluser] Hi guys - @Sam: No x-domain ajax or frames. Just plain HTML pages. @flojon: I'll give that a whirl. Can you tell me more about this header or where I can read up on it? Thanks, =m IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]Sam Dark[/eluser] http://en.wikipedia.org/wiki/P3P IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]Mirage[/eluser] Thanks a bunch Sam - That worked like a charm! IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]Sam Dark[/eluser] Thank flojon, he gave info. IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]Mirage[/eluser] Sorry - of course... Thanks flojon! -m IE7 Cookie weirdness - El Forum - 07-09-2008 [eluser]flojon[/eluser] Good to hear! Regards, Jonas IE7 Cookie weirdness - El Forum - 09-08-2008 [eluser]clariz[/eluser] Im sorry flojon.. But that still won't work on me.. :-S Do you have more suggestions? Thanks in advance. |