If I call session_id and session_start in an include .php file do I have to call them again the the parent .php file in order to use session vars in the parent file?
How about in another include file from the same parent?
Thanks!
<i> </i><?php session_start(); ?>
<i> </i><?php echo "Your username is: ".$_SESSION['username']; ?>
<i> </i><?php include("header.php"); echo "Your session Id is: ".session_id(); include("side.php"); ?>
Help @lunarkid2 spread the word by sharing this article on Twitter...