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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: naox at O2 dot pl
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-12 20:04 UTC] naox at O2 dot pl
sorry. invalid.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 18:00:02 2025 UTC