I have this session variable which i am trying to set to an access level when the users logs in with this:
$accessquery = mysql_query(\"SELECT roleid FROM perso
Did you call session_start();?
session_start();
Try to debug your code with just a fixed value: $_SESSION["Test"]="test"; and then do a var_dump($_SESSION);
$_SESSION["Test"]="test";
var_dump($_SESSION);