Oh yeah, session variables as arrays are OK.
so...
session_register("test");
$test = Array('blue','red','yellow');
echo var_dump($test);
That's that, now to call that session variable for use in other files make sure you have a "session_register" statement somewhere or if it is a user-function use "global $test;" in the function. So (use with above)...
function blah(){
global $test;
return $test[0];
}
function dodad(){
return $test[0];
}
echo blah(); //returns 'blue'
echo dodad(); //returns False