PHP Session Lost with IE6

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.
 
G

Guest

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top