Okay so I am not entirely sure why this isn't working but any insight would be helpful . I am making a html web form with php as back end and it's spread out over multiple pages, So my paln is to use a php session to helkp sync data for a user with data in databse between pages (not storing all the form data in session) so i Have this code after first section of form has been entered in database
session_start();
$_SESSION["session_id"]=$this_session;
include 'form-page-2.php';
where $this_session is just a microtime stamp in php; and then on form-page-2.php when handling input data I use this to try and get this info back:
$this_session = $_SESSION["session_id"];
and I get the error Notice: Undefined variable: _SESSION in C:\wamp\www\Karen-forms\form-page-2.php on line 30
however if i do a vardump($_SESSION);
on I get the expected value I would expect
array (size=1)
'session_id' => string '1390976355.1481' (length=15)`
so How cqan I properly pull out the session_id one form-page-2.php as clearly I am doiing something wrong just unsure as to what any help would be greatly appreciated