#18156 [Com]: When using sessions, no data is sent to Mozilla 1.0

From: Date: Mon, 19 Aug 2002 12:11:05 +0000
Subject: #18156 [Com]: When using sessions, no data is sent to Mozilla 1.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17171@lists.php.net to get a copy of this message
ID: 18156 Comment by: erwin@dexus.nl Reported By: jonny@sanriowasteland.net Status: Bogus Bug Type: Session related Operating System: GNU Linux (Debian Woody) PHP Version: 4.0CVS-2002-07-04 New Comment: So now what? Does anybody know of a workaround? I want to be able to give Mozilla-users a session. ;-) I am not sure wether to post this to PHP or Mozilla gang, but I found out that AFTER you delete the (first) session in Mozilla by hand, things seems to work fine. It's just like the session.expires isn't implemented right for "end of session" or 0. Previous Comments: ------------------------------------------------------------------------ [2002-07-18 07:35:22] jonny@sanriowasteland.net After further tesing, it seems this is not a PHP bug, but rather, a Mzilla bug. ------------------------------------------------------------------------ [2002-07-04 16:48:02] jonny@sanriowasteland.net I am using the apache module, with the cvs as of (roughly) 4:00 am.. so it was the latest cvs ;) ------------------------------------------------------------------------ [2002-07-04 04:33:31] sander@php.net Are you using the CGI version of PHP? Then this might have been fixed in CVS ten minutes ago. Can you try the latest CVS, or a snapshot from http://snaps.php.net (the fix didn't make it into 200207040000, so please wait until a next snapshot has been packed). ------------------------------------------------------------------------ [2002-07-04 04:21:08] jonny@sanriowasteland.net If I have a test script (session.php) <?php session_start(); if (empty($_SESSION['count'])) $_SESSION['count'] = 0; $_SESSION['count']++; echo "Counter: ".($_SESSION['count']); ?> And I go http://www.myserver.net/session.php in Mozilla 1.0, either I will get a dialog telling me that the document contains no data or, aboslutely nothing will happen. It seems the browser is being sent a cookie, afterwards, it seems like the response just... disappears. Changing error reporting to e_all, and adding output buffering does not change anything. There is nothing in the apache error or request logs to suggest anything is amiss Internet Explorer 6.0 and Netscape 4.7 all display pages as expected. Getting the seseion ID from the cookie that mozilla is sent, and than displaying that session file (on the server) shows the php script is being executed. Server: Debian Woody, with Apache 1.3.26, PHP CVS on i386 Client: Windows NT SP 6a, Mozilla 1.0 (Build ID: 2002053012) php configure line: ./configure' '--with-srm=/usr/local/srm' '--with-layout=GNU' '--disable-static' '--with-apxs=/usr/bin/apxs' '--disable-cli' '--with-config-file-path=/etc/php4/apache' '--enable-memory-limit' '--enable-track-vars' '--with-mysql=/usr' '--with-exif' '--enable-bcmath' '--with-gd=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-zlib=/usr' '--with-curl' '--with-exif' '--enable-sockets' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18156&edit=1

« previous php.bugs (#17171) next »