ok, i am putting it the code in both files, now my first.php is as follows ---------------- //start the session - in all the pages session_start(); var_dump(ini_get('variables_order')); var_dump(isset($_SESSION)); var_dump($_SESSION);
//store it like that $_SESSION["name"]= "Rinku"; ------------- The error msg is string(5) "EGPCS" bool(true) array(0) { } ------------------------- second.php is like this ------------------ <? //start the session - in all the pages session_start(); var_dump(ini_get('variables_order')); var_dump(isset($_SESSION)); var_dump($_SESSION); //use it anywher like this echo $_SESSION["name"]; ?> -------------------- the error msg is string(5) "EGPCS" bool(true) array(0) { } Notice: Undefined index: name in C:\Project Codes\Vanderveer\www\testPHP\second.php on line 10 ---------------------- Please can u help me now in understanding it ? manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php