Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

#19122 [Opn->Fbk]: session.use_trans_sid doesn't take effect if zlib_output_compression is enabled

0 views
Skip to first unread message

sni...@php.net

unread,
Jun 26, 2003, 1:33:52 PM6/26/03
to
ID: 19122
Updated by: sni...@php.net
Reported By: m dot DOT dot wallner at iworks dot DOT dot at
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Win 2k and Debian 3
PHP Version: 4.3.0 and earlier
New Comment:

Please try using this CVS snapshot:

http://snaps.php.net/php4-STABLE-latest.tar.gz

For Windows:

http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

This might have changed a bit, see bug #24315 (seems like same issue?)

Previous Comments:
------------------------------------------------------------------------

[2003-01-07 10:27:26] m dot DOT dot wallner at iworks dot DOT dot at

You AFAIK can't set session.use_trans_sid with ini_set, because this
param is only writeable by PHP_INI_SYSTEM or PHP_INI_PERDIR directive
-> you can read this at
http://www.php.net/manual/en/function.ini-set.php

Bye,
Michael

------------------------------------------------------------------------

[2003-01-01 14:07:47] schleinzer at gmx dot net

If I try to use trans_sid with php 4.3.0 final it doenst work. ZLib
output compression is off. The test I use is as following:

ini_set('session.use_cookies','0');
ini_set('session.use_trans_sid','1');

session_start();
print '<a href=bug.php>Bug</a>';

There is no session id appended to that link. 4.2.3 worked fine. Most
settings are the same as in the php.ini.recommended comming with 4.3.0
final.

------------------------------------------------------------------------

[2002-12-29 06:38:46] m dot DOT dot wallner at iworks dot DOT dot at

So here is my conclusion:

I've just tried PHP 4.3.0 Final today.

zlib's compression works fine now, and
session.use_trans_sid won't work if and
ONLY IF you use session.auto_start.

trans_sid works fine if you start the
session manually by calling session_start().

Don't know if this Bug should be closed?

Bye,
Michael

------------------------------------------------------------------------

[2002-11-12 17:07:38] sni...@php.net

So it might be some bug then.


------------------------------------------------------------------------

[2002-11-12 13:29:17] m dot wallner at iworks dot at

Sorry, my english is not that good.

> Are you by any chance trying to use
> both methods at the same time ?

I'm not using

output_handler = "ob_gzhandler"

and

zlib.output_compression = On

at the same time, if you ment this.

"ob_gzhandler" still works fine, even with session.use_trans_sid = 1,
but zlib.output_compression always serves trash in this version.

Michael

------------------------------------------------------------------------

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/19122

--
Edit this bug report at http://bugs.php.net/?id=19122&edit=1

0 new messages