Page 1 of 1

P3P headers / privacy / regenerate session id Problem.

Posted: Thu Jul 10, 2008 6:33 am
by tom_h
Hi

To overcome ie6 cookie problems I currently include the following lines on every page (ie not just the one that logs the user in.....?)

session_start();
header('P3P: CP="NOI DSP etc", policyref="http://www.example.com/w3c/p3p.xml"');

This works fine and session vars are set.
What I would like to do is session_regenerate_id() on each page where users are logged in but each time I add that line to the above I get problems in IE6 with cookies not setting. Can anyone enlighten me on how to do it?

session_start
Header(p3p)
session_regenerate_id() - which order do I need to put these in!

Cheers
TomH.