I need to pass some session variables to another page via the Include_Once command.
Does anyone know if this can be done and if so what the code would be? This is what I have so far and the session variables don't carry across...
Start.php
<?
Session_Start();
$Ref_Name = $_SESSION['Ref_Name'];
include_once("..common/header.php");
?>
Header.php
<?
Session_Start();
$Ref_Name = $_SESSION['Ref_Name'];
?>
Basically the Header needs the variable to dynamically create a menu to be displayed on the initial page.
Does anyone know if this can be done and if so what the code would be? This is what I have so far and the session variables don't carry across...
Start.php
<?
Session_Start();
$Ref_Name = $_SESSION['Ref_Name'];
include_once("..common/header.php");
?>
Header.php
<?
Session_Start();
$Ref_Name = $_SESSION['Ref_Name'];
?>
Basically the Header needs the variable to dynamically create a menu to be displayed on the initial page.