Hi guys.
i am having problem regarding of passing session data from one page to another. In start.php i have this session initialization & assignment.
session_start();
$_SESSION['course']=$_POST['course'];
where the method of the form that this course menu has is set to POST and the action is set to login.php.
At login.php, when i echo the session data that was passed it is null. Why.?
I did it like this:
session_start();
$coursesel=$_SESSION['course'];
echo $coursesel;
Echo returns null but when i echo the $_SESSION in start.php it shows the data assigned to it.
Pls help guys.
Tnx for giving time.
God bless.!