#21882 [NEW]: SID empty
| From: | sk at pilonet dot de | Date: | Sun, 26 Jan 2003 07:32:25 +0000 |
| Subject: | #21882 [NEW]: SID empty | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-31263@lists.php.net to get a copy of this message | ||
From: sk@pilonet.de
Operating system: Windows 2000 Server
PHP version: 4.3.0
PHP Bug Type: Session related
Bug description: SID empty
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 bug report at http://bugs.php.net/?id=21882&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21882&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21882&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21882&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21882&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21882&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21882&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21882&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21882&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21882&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21882&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21882&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21882&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21882&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21882&r=gnused