php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46855 session_name always default. Working in 5.2.6
Submitted: 2008-12-12 19:58 UTC Modified: 2008-12-12 20:04 UTC
From: naox at O2 dot pl Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.8 OS: centos
Private report: No CVE-ID: None
 [2008-12-12 19:58 UTC] naox at O2 dot pl
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






Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-12 20:04 UTC] naox at O2 dot pl
sorry. invalid.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 07:01:28 2024 UTC