#27550 [Opn->Bgs]: session_name doesn't fail or compensate for illegal white space

From: Date: Wed, 10 Mar 2004 18:23:19 +0000
Subject: #27550 [Opn->Bgs]: session_name doesn't fail or compensate for illegal white space
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56248@lists.php.net to get a copy of this message
ID: 27550 Updated by: sniper@php.net 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: RTFM Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#56248) next »