ID: 15086
Updated by: [EMAIL PROTECTED]
-Summary: trans sid still doesn't work with zlib.compression or
ob_gzhandler (PHP 4.1.1)
Reported By: [EMAIL PROTECTED]
-Status: Assigned
+Status: Feedback
Bug Type: Session related
Operating System: Debian
PHP Version: 4.1.1
Assigned To: yohgaki
New Comment:
Could you try to start session manually in script and report the
result?
Does it work now? I think it should.
Previous Comments:
------------------------------------------------------------------------
[2002-02-06 22:22:03] [EMAIL PROTECTED]
> User should make sure *not* to use session auto start to make trans
sid
> when zlib.ouput compression is enabled.
should be
User should make sure *not* to use session auto start to make trans sid
work when zlib.ouput compression is enabled.
------------------------------------------------------------------------
[2002-02-06 22:20:52] [EMAIL PROTECTED]
Note to this report.
The reason trans sid does not work is related to output handler
registration order. This is not a simple fix at all. (I might set
status to Suspended)
User should make sure *not* to use session auto start to make trans sid
when zlib.ouput compression is enabled.
The reason SID is not defined is not related to output control.
I also made a patch to define SID constant always, but it's not applied
to CVS. (yet)
If you have problem with SID not defined *even if* you have used
--enable-trans-sid when you configure PHP and session.trans_sid = 1 in
your php.ini, please submit a new bug report as session problem.
------------------------------------------------------------------------
[2002-01-17 11:03:34] [EMAIL PROTECTED]
When I compress my output with ob_gzhandler or with
zlib.output_compression trans sid doesn't work.
Without output compression trans sid works fine.
I use PHP 4.1.1 (Debian Package)
In following code php doesn't add the sid to the testlink
(sessioncookies are off)
<?php
session_start();
session_register("dummy");
$dummy=1;
if (!$sid) {
header("Location: $PHP_SELF?".SID);
exit();
}
?>
<a href="test.php">Testlink</a>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15086&edit=1