ID:               19122
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Session related
 Operating System: Win 2k and Debian 3
 PHP Version:      4.3.0 and earlier
 New Comment:

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.


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

[2002-12-29 06:38:46] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

So it might be some bug then.


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

[2002-11-12 13:29:17] [EMAIL PROTECTED]

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

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

[2002-11-11 16:15:48] [EMAIL PROTECTED]

You should have mentioned that in the first place..
(that it worked before)

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




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

[2002-11-11 10:19:51] [EMAIL PROTECTED]

What do you mean, "if my browser doesn't support it"?

Mozilla and IE did support it.

"output_handler = ob_gzhandler" works fine with these browsers.
"zlib.output_compression = On" worked fine with these browsers with PHP
4.2, except trans_sid didn't work.

And now zlib's output-compression is not working anymore.

Why is that Bogus?

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

Reply via email to