php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54608 Confusing explanation about session_name
Submitted: 2011-04-26 19:28 UTC Modified: 2011-04-26 21:17 UTC
From: seven dot rchristie at gmail dot com Assigned: salathe (profile)
Status: Closed Package: Session related
PHP Version: 5.3.6 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: seven dot rchristie at gmail dot com
New email:
PHP Version: OS:

 

 [2011-04-26 19:28 UTC] seven dot rchristie at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.session-name#Parameters
---

The session name references the session id in cookies and URLs. It should 
contain only alphanumeric characters; it should be short and descriptive (i.e. 
for users with enabled cookie warnings). If name is specified, the name of the 
current session is changed to its value.

The first sentence should be changed. It is confusing as it could mean the 
session id itself, it should be rephrased to:

The session name references the variable name used to store the session id in 
cookies and URLs; it should be short and descriptive (i.e. for users with 
enabled cookie warnings). If name is specified, the name of the current session 
is changed to its value.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-26 21:14 UTC] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=310527
Log: clarify meaning of session name (doc #54608)
 [2011-04-26 21:17 UTC] salathe@php.net
-Status: Open +Status: Assigned -Package: Unknown/Other Function +Package: Session related -Assigned To: +Assigned To: salathe
 [2011-04-26 21:17 UTC] salathe@php.net
-Status: Assigned +Status: Closed
 [2011-04-26 21:17 UTC] salathe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 09:05:53 2022 UTC