#35076 [Opn->Fbk]: Sometimes the log file shows: The session id contains illegal characters, ..etc

From: Date: Thu, 03 Nov 2005 14:49:59 +0000
Subject: #35076 [Opn->Fbk]: Sometimes the log file shows: The session id contains illegal characters, ..etc
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87477@lists.php.net to get a copy of this message
ID: 35076 Updated by: sniper@php.net Reported By: vincent_f40 at hotmail dot com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-11-03 02:27:52] vincent_f40 at hotmail dot com Description: ------------ [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1

« previous php.bugs (#87477) next »