Fixed session prob with Netscape

From: Date: Thu, 08 Mar 2001 10:10:13 +0000
Subject: Fixed session prob with Netscape
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43015@lists.php.net to get a copy of this message
I fixed the problem I had with Netscape not working well with sessions (whereas MSIE worked fine for me). Apparently, Netscape works well with cookies (and ironically, MSIE doesn't). Of course, many would probably disagree, but I'm ONLY speaking from MY recent experience and specifically on the Mac platform. So, anyway, my solution was to set both sessions and cookies at the same time, wherever needed, and do my authentication (etc) by seeing if either one or the other is set (e.g., if $session = logged or $cookie = bitten then...). Hope this helps someone. Best, -- Robert Fischler, PhD ABD IUB Campus Manager CampCampus.com > From: "Robert Fischler, Ph.D. ABD" <fischler@campcampus.com> > Date: Fri, 02 Mar 2001 17:59:52 -0600 > To: <php-general@lists.php.net> > Subject: [PHP] Netscape problems with PHP > > Hello all (first post for me!): > > I've been running into problems when testing PHP scripts on Netscape (when > MSIE works fine). > > First problem (SOLVED) was that Netscape does something funny with the > $PHP_SELF environmental variable, so I've learned to circumvent the problem > by just hard-coding the page name instead of relying on the $PHP_SELF trick. > > Second problem (UNSOLVED, SO FAR) is that Netscape (...and I'm talking about > Communicator 4.75 for the Mac, at least) doesn't carry my session variables > over from page to page. Has anyone else ran into this problem and found a > solution? > > Thanks!!! > P.S. Things seem to work fine in the new Netscape 6, but most Mac users > are still at 4.75. > > -- > Robert Fischler, PhD ABD > IUB Campus Manager > CampCampus.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#43015) next »