I suspect that my session or cookie set up is messed up. I cannot pass variables from one page to another without using them in an href statement.
here is the simple code I'm trying to run to test things:
1st page:
<? session_start(); ?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?
$test = "HI there!";
session_register($test); ?>
<a href=nextpage.php><font color="#CC0000">link</font></a>
</body>
</html>
2nd page:
<?
session_start();
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?
echo $HTTP_SESSION_VARS["test"];
?>
</body>
</html>
also,
I am seeing session cookies appear in my folder:
D:\tmp
but I wonder if the second page is accessing that or can see it? what other variables in my php.ini will affect this? thanks