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]Connect With a Mentor Billing EngineerCommented:
did you use session_start() in the 2 pages?
0
 
markmchughAuthor Commented:
Doh!!!! forgot it on the second page!!!! sorry...
0
All Courses

From novice to tech pro — start learning today.