ID: 27550 Updated by: [EMAIL PROTECTED] Reported By: whelan at nexserver dot com -Status: Open +Status: Bogus Bug Type: Session related Operating System: Windows XP PHP Version: 4.3.4 New Comment:
No, he said "RTFM": http://nl2.php.net/manual/en/function.session-name.php says: 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). Previous Comments: ------------------------------------------------------------------------ [2004-03-10 13:31:54] whelan at nexserver dot com This is definately a problem with php. It is either an illegal parameter, or it should be handled as if it were a correct parameter. It does neither at this time. It will not maintain a session of a name with a space in it. You're saying it should start a new session with a new session id every time it encounters a session with the same name, so it doesn't maintain the session variables? This doesn't make any sense. ------------------------------------------------------------------------ [2004-03-10 13:23:19] [EMAIL PROTECTED] RTFM ------------------------------------------------------------------------ [2004-03-10 10:42:11] whelan at nexserver dot com Description: ------------ if it contains a space, you get a new session_id on every page calling session_start(). I believe php should either fail and return an error or compensate for the space. It shouldn't just not work correctly. Reproduce code: --------------- session_name('New Session'); session_start(); Expected result: ---------------- It should maintain the same session id for each session with the same session name. Actual result: -------------- It will create a new session id for each time this is called. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27550&edit=1
