I am running php version 4.3.2 in an IIS environment. I am having problems getting sessions to work.
Here is the code in the first page:
//Set from/to dates based on sessions
session_start();
$_SESSION['begin_dt'] = $_REQUEST['begin_dt'];
$_SESSION['end_dt'] = $_REQUEST['end_dt'];
echo "Begin: " . $_SESSION['begin_dt'] . "<br>";
echo "End: " . $_SESSION['end_dt'] . "<br>";
Here is the code in the second page (doesn't return anything):
session_start();
echo "Begin: " . $_SESSION['begin_dt'] . "<br>";
echo "End: " . $_SESSION['end_dt'] . "<br>";
The first page echos return the correct information, but the second page echos do not. Any ideas?
TIA,
clcope