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:

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


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

[2003-01-01 14:07:47] [EMAIL PROTECTED]

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] [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 ?




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

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