• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

PHP/IE6 and Cookies

razor2025

Diamond Member
I'm coding a log-in page using PHP and mySQL. It works perfectly fine on any browser EXCEPT IE6... POS MS software. Anyway here's how the script is right now;

<html>
<head>
<title>Checking Log-In...</title>
<link rel="P3Pv1" href="http://www.blablabla.com/p3p.xml"> ** mandatory link needed for IE6 to enable cookies.
</head>
<body>
</body>
</html>
<?php

checks the variables passed via form onto SQL database,

if vairables match;
setcookies (value set for cookies)
auto redirect to new page

?>

The current code produce a HTTP header conflicts. The mandatory IE6 header conflicts with setcookies() on HTTP header. Anybody that's smart enough willing to help out here?
 
I don't know exactly how PHP does it, because I don't write PHP, but I've written plenty of pages that set cookies in perl, and you don't need any specific IE code. Simply set the cookies and the content type and the headers will work in IE6 as well as any other browsers I've ever used. I don't know where you got the idea that IE6 requires some special header to use cookies, which is probably what's causing your problem.
 
Originally posted by: notfred
I don't know exactly how PHP does it, because I don't write PHP, but I've written plenty of pages that set cookies in perl, and you don't need any specific IE code. Simply set the cookies and the content type and the headers will work in IE6 as well as any other browsers I've ever used. I don't know where you got the idea that IE6 requires some special header to use cookies, which is probably what's causing your problem.

Actually, IE6 has this F*cked cookie policy, where it will refuse to store a cookie unless a p3p policy is on the site in a XML format. This of course, can be circumvented by telling the visitor to get Firefox and dump IE, or turn down their security settings.

This guy has a blog about this whole IE6 BS.
http://www.shaftek.org/blog/archives/000144.html
 
Back
Top