05-21-2018, 08:35 PM
When you're calling session_start(), you're resetting the session, or risking it will produce an error message since there is already a session created. Your best option is it just call init.php as recommended and then use session variables like $_SESSION['myVariable']=12345; and you call this by $_SESSION['myVariable'];