note 59244 rejected from function.session-register by jacques

From: Date: Wed, 30 Nov 2005 16:07:09 +0000
Subject: note 59244 rejected from function.session-register by jacques
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-99366@lists.php.net to get a copy of this message
Note Submitter: Norbert Sch. ---- I get Warning: session_register(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 ... with session_register() Code is: if(empty($mySession_ID)){ session_name("mySession_ID"); if (session_register("mySession_ID")) { [...] This does not happen all the time. Restarting Apache _seems_ to help for a short while then it happens again. Sometimes it works all just fine and after reloading the page several times I problem pops up. Global sessions settings: session.auto_start Off Off session.cookie_path / / session.cookie_secure Off Off session.name PHPSESSID PHPSESSID session.save_handler files files session.save_path /tmp/session /tmp/session session.use_cookies On On session.use_only_cookies Off Off PHP Version 4.3.3 @ Apache/2.0.54 (Debian) There are less than 1000 session files and the server isn't loaded heavily at all. Searching the web for the error message gives quiet some results but only pages with the same problem... Any ideas?

« previous php.notes (#99366) next »