#15983 [Fbk->Opn]: session variables lost between pages
From: kalowsky@php.net Date: Wed, 25 Sep 2002 21:36:09 +0000 Subject: #15983 [Fbk->Opn]: session variables lost between pages References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-20367@lists.php.net to get a copy of this message
ID: 15983
Updated by: kalowsky@php.net
Reported By: sl@scrooge.dk
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Debian/Linux mips platform
PHP Version: 4.1.2 and 4.2.0
Assigned To: sascha
New Comment:
Sascha it's not a problem of using a feature on their system, it's a
problem that the functionality is broken on their end. Your test,
while possibly being correct, doesn't have a way to check this.... and
I don't really think there is a way.
As of this moment I'm not even sure if there is a released version with
it working.
Marking this as open, as there is nothing the end user can comment back
on to this.
Previous Comments:
------------------------------------------------------------------------
[2002-09-25 06:17:49] sas@php.net
If you want us to avoid using certain features of your platform, then
you need to provide specific testcases. We will use these testcases to
determine whether pread/pwrite work on a platform.
Currently, we use this for pread (after echo test > conftest_in):
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
main() { char buf[3]; return !(pread(open("conftest_in", O_RDONLY),
buf, 2, 0) == 2);
And this for pwrite:
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
main() { return !(pwrite(open("conftest_in", O_WRONLY|O_CREAT, 0600),
"hi", 2, 0) == 2);
------------------------------------------------------------------------
[2002-09-12 16:15:34] kalowsky@php.net
I'd like to see this fixed for 4.3.0. Right now the simple answer is
to remove PREAD (again).
------------------------------------------------------------------------
[2002-09-12 16:06:39] derick@php.net
Assigning to sascha as he was busy with it.
Derick
------------------------------------------------------------------------
[2002-09-12 16:03:22] sl@scrooge.dk
http://snaps.php.net/php4-latest.tar.gz
and the cvs fails.
Only if one change the php_config.h so
HAVE_PREAD is #undef the session variables work.
Regards,
Søren,
------------------------------------------------------------------------
[2002-09-11 09:40:36] kalowsky@php.net
Since confidence is high, I'm marking as closed. The PREAD check is
still in effect yes, I didn't remove that.
It would be nice if you could test the latest snapshot, as the PREAD
was re-introduced, but with added protective measures.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/15983
--
Edit this bug report at http://bugs.php.net/?id=15983&edit=1
Thread (46 messages)
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- Bug #15983 Updated: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Opn->Fbk]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Fbk->Opn]: session variables lost between pages
- #15983 [Opn->Fbk]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Fbk]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Fbk->Opn]: session variables lost between pages
- #15983 [Opn->Fbk]: session variables lost between pages
- #15983 [Fbk->Opn]: session variables lost between pages
- #15983 [Opn->Fbk]: session variables lost between pages
- #15983 [Fbk->Opn]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Opn->Csd]: session variables lost between pages
- #15983 [Csd]: session variables lost between pages
- #15983 [Csd->Asn]: session variables lost between pages
- #15983 [Asn]: session variables lost between pages
- #15983 [Asn->Fbk]: session variables lost between pages
- #15983 [Fbk->Opn]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Opn->Csd]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- #15983 [Csd]: session variables lost between pages
- #15983 [Com]: session variables lost between pages
- Bug #15983 [Com]: session variables lost between pages
| « previous | php.bugs (#20367) | next » |
|---|