PHP Session Lost with IE6

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

when redirecting to another page using php header, it appears that IE loses
session variables. other browsers are fine:
header("Location: page2.php");
page2.php checks for session variable called username, if it was set then
displays the page, if not set then takes the user to login.php to enter login
details.
I have tried adding the following:

session_start();
header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');
header("Cache-control: private");

and adding the following after registering session variables
session_write_close();

but still no luck, session cookies variables are lost

Version: Windows XP Pro SP2 and fully up to date
IE: 6.0.2900.2180
Firefox 1.5 working fine in the same machine as well as Netscape.

Much appreciated if you could show me a workaround to fix the problem with
IE as most people using IE to browser the Interent.
 
Are there any Microsoft Gurus can help with this, or is it another Microsoft
game to say why using PHP just go and use ASP. Don't Microsoft do any testing
before releasing these products.. or who cares.. we are Microsoft .. we code
shit product and released to consumers and make money. if someone asked for
technical support well then follow the next steps:
1- Close and Re-open your faulty program, if didn't help
2- Reboot your computer, if didn't help
3- Rebuild your PC, and if it didn't help
4- We keep silent so no one could know that we don't know about our product!
 
Back
Top