hello here ,
i just need a simple help with php sessions.
i have 2 pages... page1.php and page 2.php
contents of
page 1.php
<?PHP
session_start();
$_session['key'] ='on';
?>
contents of page2.php
<?PHP
session_start();
echo $_session['key'];
?>
why is the session not passing to the page2.php...
can anyone help me ?
the page1.php displays "on "
but the page2.php displays no value.