note 43776 added to function.session-start

From: Date: Fri, 02 Jul 2004 22:26:06 +0000
Subject: note 43776 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-72350@lists.php.net to get a copy of this message
After moving some of my scripts to a new server, I started getting the following errors even though they worked fine on a previous server: Unknown:0: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) Unknown:0: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 The save_path was correct and had proper permissions, so I didn't know why this was happening. I was tipped to simply renamed the session.name variable in the php.ini file from the default "PHPSESSID" to something else (in this case "SESS"). I don't know why, but it started working after that! ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43776 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43776&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43776&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72350) next »