session id contains illegal characters

From: Date: Thu, 26 Oct 2006 23:19:17 +0000
Subject: session id contains illegal characters
Groups: php.general 
Request: Send a blank email to php-general+get-243710@lists.php.net to get a copy of this message
hey all, I'm moving my page from php4 to php5 and I get this error: Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 this is the code I use to start my session: $_SESSION['user_id']=$user_id;
       $_SESSION['user_login']=$user_login;
       $_SESSION['user_pass']=$user_pass;
       $_SESSION['user_level']=$user_level;
$_SESSION['session_bool']="true"; $sessionid = session_id(); $_SESSION['session_id']= $sessionid; $user_real_id=$_SESSION['user_id']; $user_real_login=$_SESSION['user_login']; $realsessionid = $_SESSION['session_id']; any idea what's wrong? thanx in advance Pat

« previous php.general (#243710) next »