setting sessions

Hi,
I'm using the following lines to set an array

$_SESSION["barea"][0] = "Test";
$_SESSION["bareaf"][1] = "test.php";

but when i try to echo them they are blank, anybody know what the problem is?
markmchughAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
did you use session_start() in the 2 pages?
0
 
markmchughAuthor Commented:
Doh!!!! forgot it on the second page!!!! sorry...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.