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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 17:00:02 2025 UTC