Hello all pls help me...I am new to php
i create a session variable and unable to access from other page
my code is below pls check it ...i am very new and pls excuse me if any wrongs..whether it is possible...
******firstpage************
<?php
session_start();
$_SESSION['name'] = "venkatesh";
echo 'Here i cerated a session variable called name with value';
echo $_SESSION['name'];
echo "pls click the link below to check whether the session is accesiable or not";
echo '<a href="ses2.php">Click</a>';
?>
**************second page************
<?php
echo 'Your session is active';
echo $_SESSION['name'];
?>