NYCPHP Meetup

[nycphp-talk] PHP, Browser or MySQL Problem

anoland at indigente.net anoland at indigente.net
Thu Mar 20 09:37:58 EDT 2008


Paul,
When setting your cookies, try setting all params, including domain & path. I've come across instances similar to yours that were fixed by setting everything.

Adrian
-----Original Message-----
From: "PaulCheung" <paulcheung at tiscali.co.uk>
Date: Wednesday, Mar 19, 2008 4:40 pm
Subject: [nycphp-talk] PHP, Browser or MySQL Problem
To: <talk at lists.nyphp.org>Reply-To: NYPHP Talk <talk at lists.nyphp.org>

Has anybody run across this before?
>
>
>
>I am using three different browsers to test the same PHP scripts and MySQL 
>database. The application's scripts work by sharing/passing SESSIONS 
>variables.
>
>
>
>Here is the problem, in one browser (Explorer) all works as expected and the 
>session variable named $_SESSION['access'] retains its integrity  However in 
>the other two browsers (Firefox & Opera) the $_SESSION['access'] variable is 
>corrupted - set to null
>
>
>
>It just doesn't make any sense,  this session variable is filled in once 
>after user validation and from then on it is a read only session variable, 
>why works in one browser and not the others. all three browsers access the 
>the same scripts and same database.
>
>
>
>I have really racked my brains on this one - Can anybody point me in the 
>right direction?
>
>
>
>Paul
>
>_______________________________________________
>New York PHP Community Talk Mailing List
>http://lists.nyphp.org/mailman/listinfo/talk
>
>NYPHPCon 2006 Presentations Online
>http://www.nyphpcon.com
>
>Show Your Participation in New York PHP
>http://www.nyphp.org/show_participation.php
>




More information about the talk mailing list