session id contains illegal characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux