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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
35 - 1 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC