#46855 [NEW]: session_name always default. Working in 5.2.6
| From: | naox at O2 dot pl | Date: | Fri, 12 Dec 2008 19:58:59 +0000 |
| Subject: | #46855 [NEW]: session_name always default. Working in 5.2.6 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-131966@lists.php.net to get a copy of this message | ||
From: naox at O2 dot pl
Operating system: centos
PHP version: 5.2.8
PHP Bug Type: Session related
Bug description: session_name always default. Working in 5.2.6
Description:
------------
It seems there is a bug in 5.2.8. session_name() does not set session
name. It always stay default from session.name in php.ini
Reproduce code:
---------------
<?
session_start();
session_name("abc");
echo session_name();
?>
Expected result:
----------------
in 5.2.6
abc
Actual result:
--------------
in 5.2.8
PHPSESSID
--
Edit bug report at http://bugs.php.net/?id=46855&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46855&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46855&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46855&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46855&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46855&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46855&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46855&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46855&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46855&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46855&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46855&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46855&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46855&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46855&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46855&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46855&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46855&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46855&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46855&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46855&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46855&r=mysqlcfg