note 48667 added to function.session-name

From: Date: Tue, 04 Jan 2005 08:44:09 +0000
Subject: note 48667 added to function.session-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-82672@lists.php.net to get a copy of this message
How many times do I have to read the words "alphanumeric" and "only" before they stick? If you put anything else in the session name, for example a dot, then the cookie will be sent, the session will be saved, BUT the cookie will not be recovered and so a new session will start each time. I lost 9 hours over this. So, just in case anybody else out there is as stupid as me.... ---- Manual Page -- http://www.php.net/manual/en/function.session-name.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48667 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48667&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48667&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#82672) next »