NYCPHP Meetup

[nycphp-talk] PHP, Browser or MySQL Problem

Tom Melendez tom at supertom.com
Wed Mar 19 17:26:17 EDT 2008


Since you've said they all access the same scripts, I'll assume that
there is no instances of redirection or function calls based on
browser, then?

Can you pinpoint where it is that you are losing the session var (which page)?

Have you looked at the sites with Live Headers (FF) and Fiddler (IE)
to examine the cookies as Matt suggested?

Tom
http://www.liphp.org


On Wed, Mar 19, 2008 at 1:48 PM, Matt Juszczak <matt at atopia.net> wrote:
> Most likely a cookies issue.
>
>  Are cookies turned on in one browser but not in another?  Configured
>  differently?
>
>
>
>  On Wed, 19 Mar 2008, PaulCheung wrote:
>
>  > 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
>  >
>  >
>  > !DSPAM:47e17a29536885368818224!
>
>
> >
>  _______________________________________________
>  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