<?php session_start(); $abc = array("1" => "y1","2" => "y2"); #session_register("abc"); $_SESSION['abc']=$abc; ?>