ID: 21882 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: Session related Operating System: Windows 2000 Server PHP Version: 4.3.0 New Comment:
Sorry for reopening, but why shouldn't that be a bug in PHP? But, following your hint I tried the following with both session.use_trans_sid on and off: <?php session_start(); echo "Ini-Setting:" .ini_get("session.use_trans_sid")."<br />"; var_dump(SID); ?> The result was the same. (No, I did not forget to restart apache). One time I got: Ini-Setting:0 string(0) "" another time: Ini-Setting:1 string(0) "" So, please be more specific if I'm am wrong, but then it'll be a documentation problem, because SID is mentioned as a predefined constant there, without any limitations as e.x. ini-settings for trans_sid. Thanks a lot, Stefan Previous Comments: ------------------------------------------------------------------------ [2003-01-26 06:41:15] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Hint: session.use_trans_sid ------------------------------------------------------------------------ [2003-01-26 01:32:25] [EMAIL PROTECTED] Hi PHP-Team, first of all, thanks for your hard work in developing and enhancing PHP. I've got an installation of PHP 4.2.1 and 4.2.2, when I found out that the constant SID, which I wanted to append to JS-Popups, is of type String => "". So I recently updated to 4.3.0, same behavior as before. Additionally, no warning will be given, that SID is empty for any reason, if there is any? Sample script is this one: <?php session_start(); error_reporting(E_ALL); var_dump(SID); ?> Output is: string(0) "" Same is, when you call get_defined_constants. SID is listed there, but an empty String also. Thanks for any hint! P.S: It is not easy for me to test with the latest CVS release because this server is a live one. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21882&edit=1