[thelist] PHP Sessions and Frames...

Tris beertastic at gmail.com
Mon Mar 5 07:00:00 CST 2007


Cheers Phil...
Didn't appear to work...?
I'm using MySQL if that makes a difference?
I'm off to google
	header('P3P: CP="CAO PSA OUR"');
now...!

Tris...

On 05/03/07, Phil Turmel <pturmel-webdev at turmel.org> wrote:
> Tris wrote:
> > Bit of an odd one...
> > i've built a registration area, and as it's mulitple pages, I've used
> > a session to capture the ID number of the row I created in the
> > database, for use in my UPDATE calls on subsequent pages...
> >
> > Anyhoo...
> > The whole system has been plonked in a frame on their server, by the client.
> > and for some users, the data is not being captured and the session
> > data is into being remembered...
> >
> > I found this on google:
> > http://www.dbforums.com/archive/index.php/t-1117749.html
> > but It's for cfm pages...
> >
> > Has anyone come accross this bug before, and does anyone know a fix?
> >
> > I gotta a pissed off client on a Mondya morning... i just LOVE them! ;-p
> >
> > Tris...
> >
> >
> Tris,
>
> Just interpreting the CF and MS corrective actions into PHP, you need a
> header call before your session_start, like so:
>
> header('P3P: CP="CAO PSA OUR"');
> session_start();
>
> HTH,
>
> Phil
>



More information about the thelist mailing list